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

Support multiple occurrences of conditions in the where clause #504

Open
s3u opened this issue Jun 13, 2012 · 1 comment
Open

Support multiple occurrences of conditions in the where clause #504

s3u opened this issue Jun 13, 2012 · 1 comment
Labels

Comments

@s3u
Copy link
Member

s3u commented Jun 13, 2012

such as

select * from foo where name = 'foo' and name = 'bar' and name = 'baz'

This should result in a params struct with

name = ['foo', 'bar', 'baz']

Right now, it results in

name = ['baz']

Further, the param name must be substitutable into URIs and request bodies.

@prabhakhar
Copy link
Member

But, then

 select * from foo where name = 'foo' and name = 'bar' and name = 'baz' 

will always return nothing, because of the 'and'.

I think we may need a better example to explain the feature.

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

No branches or pull requests

2 participants