Skip to content
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

#14: fix issue when IN has empty parameter #15

Closed
wants to merge 1 commit into from

Conversation

laurentmartelli
Copy link

@laurentmartelli laurentmartelli commented Feb 14, 2018

It seems logical that "IN ()" is always false and "NOT IN ()" is always true. Except maybe for null if you want to follow the SQL logic.
If you don't want to implement this logic, then you should raise an exception instead of silently trapping it.

@beuss
Copy link
Contributor

beuss commented Feb 14, 2018

Your comment says the opposite of the patch :) (IMHO the patch is right, ie IN ∅ == false NOT IN ∅ == true)

@laurentmartelli
Copy link
Author

@beuss : I have updated my comment

axeloradmin pushed a commit that referenced this pull request Sep 14, 2023
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.

3 participants