Closed
Description
[REQUIRED] Describe your environment
Operating System version: N/A
Firebase SDK version: 4.6.2
Firebase Product: firestore
[REQUIRED] Describe the problem
Rather than having to make several separate queries I would like to see an OR operator for the WHERE query in Firestore. This is something that is currently available in MongoDB or with the $or operator here.
Relevant Code:
The query could look something like this:
citiesRef.where("state", "==", "CA", "||", "state", "==", "AZ")
or better yet
citiesRef.where("state == CA || state == AZ")
I open a new issues since the #321 got closed. People still looking for a solution on that post and haven't heard anything new from Firebase
Metadata
Metadata
Assignees
Labels
No labels