mirror of
https://github.com/yweber/lodel2.git
synced 2025-11-26 07:16:54 +01:00
Add leading & trailing spaces to all operators in LefilteredQuery
Doing so forbids operators like << == =! in* etc.. The tests were updated
This commit is contained in:
parent
f402902b5b
commit
5991bc8e6f
2 changed files with 9 additions and 6 deletions
|
|
@ -92,12 +92,12 @@ class LeFilteredQuery(LeQuery):
|
|||
|
||||
##@brief The available operators used in query definitions
|
||||
_query_operators = [
|
||||
'=',
|
||||
'<=',
|
||||
'>=',
|
||||
'!=',
|
||||
'<',
|
||||
'>',
|
||||
' = ',
|
||||
' <= ',
|
||||
' >= ',
|
||||
' != ',
|
||||
' < ',
|
||||
' > ',
|
||||
' in ',
|
||||
' not in ',
|
||||
' like ',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue