Query a Firestore collection group

Query Firestore subcollections that share a name and locate each result by its full document path.

Choose the query scope

A collection group includes documents from collections and subcollections with the same collection ID in the active database. For example, the orders group includes documents from clients/anais/orders, clients/robin/orders and a top-level orders collection. Firestore collection group documentation

Open the group in QueryCanopy

  1. Select the database in the explorer and choose Ouvrir un groupe de collections.
  2. Enter only the collection ID, such as orders. Each result shows its document path so you can tell apart documents sharing an ID.
  3. Open Requête to add a filter or sort order. If Firestore requires an index, add one with collection group scope and run the query again.

Open a result’s source collection

Select a document and choose Ouvrir la collection du document in the inspector to browse the other documents under that parent.

Explore the query builder