Home > Mobile >  Firestore: find document in nested collections
Firestore: find document in nested collections

Time:08-13

I have these collections:

users/portfolios/rents/events

How could I find events with title Lunch?

I need to search for all users, portfolios, rents and events.

CodePudding user response:

If you want to query across all events collections in your entire database, you'll want to use a so-called Collection Group Query.

  • Related