Skip to content
Discussion options

You must be logged in to vote

I found a solution here!

So adapting it to my case it looks like this:
await FirebaseFirestore.instance.collection('groups').where(FieldPath.documentId, whereIn: [id1, id2, id3, id4]).get();

Be aware that there is a limit of 10 to the number of values/IDs you can use in the search.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by guplem
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants