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")