This commit is contained in:
yumoqing 2024-05-15 13:24:50 +08:00
parent fae798e183
commit e6d90ac6a8

View File

@ -127,7 +127,7 @@ class DBFilter(object):
assert op in self.operators assert op in self.operators
if op in ['IS NULL', 'IS NOT NULL']: if op in ['IS NULL', 'IS NOT NULL']:
return f'{fj['field']} {op}' return f"{fj['field']} {op}"
var = fj.get('var') var = fj.get('var')
if var and not var in ns.keys(): if var and not var in ns.keys():