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

OR-ing together expressions in a filter (dynamic) #138

Open
d6y opened this issue Mar 14, 2017 · 3 comments
Open

OR-ing together expressions in a filter (dynamic) #138

d6y opened this issue Mar 14, 2017 · 3 comments

Comments

@d6y
Copy link
Contributor

d6y commented Mar 14, 2017

Producing a expresion while where (exp) or (exp) or (exp) is not obvious. It's a single filter call, but what do you put in the filter body?

Example: https://github.com/d6y/list-of-tuples

Might make a good advanced question, or a trick to put in. Perhaps a section/chapter/"case study" on dynamic queries with #34

@d6y
Copy link
Contributor Author

d6y commented May 4, 2017

@d6y
Copy link
Contributor Author

d6y commented Oct 10, 2017

Also: useful as a workaround for no tuple support for inSet. E.g., replacing "select * where (x,y) in ( (1,2), (4,5) )" with "where (x=1 && y=2) or (x=4 && y=5)".

@d6y
Copy link
Contributor Author

d6y commented Mar 3, 2020

Another one: https://stackoverflow.com/a/60511701/154248

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

No branches or pull requests

1 participant