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

BUG? sql IN operator only works with a list of two values #65

Closed
la-bell opened this issue May 6, 2021 · 1 comment · Fixed by #66
Closed

BUG? sql IN operator only works with a list of two values #65

la-bell opened this issue May 6, 2021 · 1 comment · Fixed by #66
Labels
bug Something isn't working

Comments

@la-bell
Copy link

la-bell commented May 6, 2021

SELECT * FROM mytable WHERE mycolumn IN ('value1', 'value2') works fine, but if I have more than two values within the parentheses, InvalidQueryException is raised. The typical use of IN should allow for n comparison values. Am I misunderstanding something in composing my query or is there a workaround for this operator to use more than two values? Thanks!

@zbrookle zbrookle mentioned this issue May 9, 2021
@zbrookle zbrookle added the bug Something isn't working label May 9, 2021
@zbrookle
Copy link
Owner

zbrookle commented May 9, 2021

@la-bell Yeah that's definitely a bug, should be fixed soon

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants