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

"in" on sequel causes an SQL error #5

Open
adamgotterer opened this issue Jan 20, 2015 · 0 comments
Open

"in" on sequel causes an SQL error #5

adamgotterer opened this issue Jan 20, 2015 · 0 comments

Comments

@adamgotterer
Copy link

I assume this project is pretty dead due to the last commit being many years ago. But I figured I'd submit this bug anyways.

Given the URL ?some_id[in]=1,2,3, It converts in Sequel to SELECT * FROM "some_table" WHERE (some_id IN (('1', '2', '3'))) which causes a type error. The IN section should actually be IN('1','2','3'), with only a single paren.

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

No branches or pull requests

1 participant