2

In my firestore collection, I have a string field called username. When receiving a list of username, I would like to find all matching docs. Something similar to this SQL query:

WHERE username IN ('Bob', 'Alice', 'Troy', ...);

Every time, I might have an array of up to 200 users and I would like to query for all matching documents. Couldn't find any reference for it in the documentation...

Gilad Novik
  • 4,546
  • 4
  • 41
  • 58
  • Possible duplicate of [Implementing OR in firestore query - Firebase firestore](https://stackoverflow.com/questions/47018212/implementing-or-in-firestore-query-firebase-firestore) – Frank van Puffelen Mar 25 '18 at 04:18

0 Answers0