Closed anayrat closed 4 years ago
More precisely, it is not always the case.
I greped each location where we use .where(c.calls
:
And a variant c.calls != None
in :
I don't know why, but in server.py and database.py c.calls is not None
is translated to true
.
But in query.py we have c.calls != None
which is translated to anon_1.calls IS NOT NULL
I am pretty sure we must change to c.calls != '0'
in server.py and database.py. For query.py I must spend more time on it.
Good catch!
After investigation c.calls != None
in query.py must be changed to c.calls != '0'
.
Hello,
In several part we have such where clause:
Which was translated in SQL with
WHERE true
.It seems the fix is replace it by:
Which is translated in