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

How to support "in query" like SQL? #19

Open
fx408 opened this issue Mar 4, 2021 · 2 comments
Open

How to support "in query" like SQL? #19

fx408 opened this issue Mar 4, 2021 · 2 comments
Labels
enhancement New feature or request

Comments

@fx408
Copy link

fx408 commented Mar 4, 2021

How to support "in query" like SQL, for example:
foo.Y in ("a", "b", "c")

@mkeeler
Copy link
Member

mkeeler commented Mar 4, 2021

Its a lot more verbose but for the time being this can be expressed as:

foo.Y == "a" or foo.Y == "b" or foo.Y == "c"

I will leave this issue open to track a possible future enhancement to the grammar to support the more succinct form.

@mkeeler mkeeler added the enhancement New feature or request label Mar 4, 2021
@danishprakash
Copy link

@mkeeler hey, mind If I look into this? sounds like an interesting problem.

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

No branches or pull requests

3 participants