- changed status to resolved
Empty OR clause with table.delete() produces invalid SQL
Issue #3045
resolved
See attached test case. Results from running the script:
Expected: DELETE FROM test
Got: DELETE FROM test WHERE
Comments (3)
-
repo owner -
repo owner - Fixed bug where :meth:
.Table.update
and :meth:.Table.delete
would produce an empty WHERE clause when an empty :func:.and_()
or :func:.or_()
or other blank expression were applied. This is now consistent with that of :func:.select
. fixes#3045
→ <<cset 93e11a9d7d58>>
- Fixed bug where :meth:
-
repo owner thanks
- Log in to comment
.Table.update
and :meth:.Table.delete
would produce an empty WHERE clause when an empty :func:.and_()
or :func:.or_()
or other blank expression were applied. This is now consistent with that of :func:.select
. fixes#3045→ <<cset 55eacc8dbea3>>