collectionGroup method

Query<QueryJsImpl> collectionGroup(
  1. String collectionId
)

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

The collectionId 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.

Implementation

Query collectionGroup(String collectionId) =>
    Query.fromJsObject(jsObject.collectionGroup(collectionId));