Skip to content

Fix ignoring simple parameters with a False truth value #723

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

mkfrey
Copy link

@mkfrey mkfrey commented Aug 19, 2021

Currently, all simple value parameters which evaluate to False are ignored (e.g. 0, ""). This results in an exception, since the provided value is not inserted into the query.

Fixes #609

@mkfrey
Copy link
Author

mkfrey commented Aug 19, 2021

A problem that still persists after this PR is that no simple value parameter represents a NULL. Maybe removal of simple value support should be considered in favor of single item tuples if consistency can not be guaranteed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Empty string failed to parse in statement
1 participant