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

create query for matching elements in lists #17

Open
grundrauschen opened this issue Sep 30, 2015 · 0 comments
Open

create query for matching elements in lists #17

grundrauschen opened this issue Sep 30, 2015 · 0 comments

Comments

@grundrauschen
Copy link

I would like to have a feature, where I can match a field in a query not only against a single variable but also against a list and return all matching entries. For example:

name = "my_name"
query {"w", Weather}, {name: name}  #matching single name

# to implement
names = ["my_name1", "my_name2", "my_name3"]
query {"w", Weather}, {name: names}  #matching multiple names
# or
query {"w", Weather}, %{where: "w.name", in: names}
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