Open nobrin opened 9 years ago
Empty Q() object will causes SQL syntax error.
q = Q() User.select(q)
This means "SELECT * FROM user WHERE (())" in SQL. In case of empty Q object, it should be ignored.
Empty Q() object will causes SQL syntax error.
This means "SELECT * FROM user WHERE (())" in SQL. In case of empty Q object, it should be ignored.