fixed sql != to work in conjunction with other things
This commit is contained in:
parent
f02aab22ef
commit
ef76582afc
1 changed files with 1 additions and 1 deletions
|
@ -80,7 +80,7 @@ class Condition:
|
|||
if t == 'eq':
|
||||
return params[0], '"%s" = \'%s\''%(params[0], params[1])
|
||||
if t == 'ne':
|
||||
return params[0], 'not("%s" = \'%s\')'%(params[0], params[1])
|
||||
return params[0], '("%s" != \'%s\' or %s IS NULL)'%(params[0], params[1],params[0])
|
||||
if t == 'regex':
|
||||
return params[0], '"%s" IS NOT NULL'%(params[0])
|
||||
if t == 'true':
|
||||
|
|
Loading…
Add table
Reference in a new issue