0

I have 3 collections, namely x.cards, y.cards and z.cards. I'd like to sent out a notification to corresponding users whenever a new card is created in any of the 3 collections. What's the best practice to listen to all 3 collections instead of listening to each collection seperately? I wanted to invoke Cloud Functions from the app.

Shabir Hamid
  • 148
  • 1
  • 8

1 Answers1

1

There is currently no way to listen across multiple collections in Firestore.

Allowing queries across collections is being considered, but as usual there are no timelines of when (or even if) that will be available.

Also see:

Frank van Puffelen
  • 565,676
  • 79
  • 828
  • 807