Find multiple values on the same column? #260
-
Hi Ujiwal, First off, thanks for JsStore and IDBStudio, they're both excellent. The only problem I'm having at the moment is querying for multiple values on the same column. I tried the following without success:
Is it possible? Many thanks. |
Beta Was this translation helpful? Give feedback.
Answered by
ujjwalguptaofficial
Feb 12, 2022
Replies: 1 comment 1 reply
-
yes its possible. You need to use
|
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
phollyer
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
yes its possible. You need to use
in
for the array query.Here is idbstudio link - https://ujjwalguptaofficial.github.io/idbstudio/?db=Demo&query=select(%7B%0A%20%20%20%20from%3A%20%22Customers%22%2C%0A%20%20%20%20where%3A%20%7B%0A%20%20%20%20%20%20%20%20country%3A%20'Mexico'%2C%0A%20%20%20%20%20%20%20%20or%3A%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20city%3A%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20in%3A%20%5B'London'%2C%20'Madrid'%5D%0A%20%20%20%20%20%20%20%20%20%20%20%20%7D%0A%20%20%20%20%2…