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

feature request: the "in" operator #7

Open
highfield opened this issue Aug 4, 2015 · 3 comments
Open

feature request: the "in" operator #7

highfield opened this issue Aug 4, 2015 · 3 comments

Comments

@highfield
Copy link

Just a suggestion, because I feel the "in" operator would be useful in several contexts.
A possible syntax could be as follows:
locations[?state in ['WA', 'CA', 'NY']].name

However, the filter might be exposed as a simpler function as follows:
locations[?in(state, ['WA', 'CA', 'NY'])].name

Excellent work, though!

@MartinHelmut
Copy link

+1

1 similar comment
@IAIAE
Copy link

IAIAE commented Sep 15, 2018

+1

@yuhymuk
Copy link

yuhymuk commented Jun 23, 2023

+1

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

4 participants