DbQuery: WHERE without AND is still WHERE

This commit is contained in:
Ivanq 2017-10-26 18:32:05 +03:00
parent 9d511ba165
commit c64e97f0d6

View file

@ -22,6 +22,8 @@ class DbQuery:
def parseWheres(self, query_where):
if " AND " in query_where:
return query_where.split(" AND ")
elif query_where:
return [query_where]
else:
return []