Add some sql operator
This commit is contained in:
1 parent
37bc3b4f92
commit
b7ce3be4f9
1 file changed
+12
-1
+12
-1
@@ -1940,7 +1940,18 @@ class ORM(object):
|
||||
tables = ['"' + self._table + '"']
|
||||
joins = []
|
||||
while i < len(args):
|
||||
if args[i][1] not in ('child_of','=','like','ilike','','!=','in'):
|
||||
if args[i][1] not in (
|
||||
'child_of',
|
||||
'=',
|
||||
'like',
|
||||
'ilike',
|
||||
'',
|
||||
'!=',
|
||||
'in',
|
||||
'<=',
|
||||
'>=',
|
||||
'<',
|
||||
'>'):
|
||||
raise ExceptORM("Argument '%s' not supported"% args[i][1],"")
|
||||
|
||||
table = self
|
||||
|
||||
Reference in new issue
Block a user