Add some sql operator

This commit is contained in:
Cédric Krier committed 2008-03-12 17:11:01 +01:00
1 parent 37bc3b4f92
commit b7ce3be4f9
1 file changed
+12 -1
+12 -1
View File
@@ -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