Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

collectionGroup

Creates and returns a new Query instance that includes all documents in the database that are contained in a collection or subcollection with the given collectionId.

function collectionGroup(firestore: Firestore, collectionId: string): Query<DocumentData, DocumentData>;
§
collectionGroup(firestore: Firestore, collectionId: string): Query<DocumentData, DocumentData>
[src]

§Parameters

§
firestore: Firestore
[src]
  • A reference to the root Firestore instance.
§
collectionId: string
[src]
  • Identifies the collections to query over. Every collection or subcollection with this ID as the last segment of its path will be included. Cannot contain a slash.

§Return Type