alonho/pql

Support True, False and None in codition as python

maimike opened this issue · 0 comments

Because pql simulate the python language so it may be very helpful if it support the same way with python as below
query = '{var1} and {var2}'.format(var1=var1 or True, var2=var2)
in case var1 = None, True, False
Expect: it is still valid
Actual: throw exception