collectionGroup method

Query<Map<String, dynamic>> collectionGroup(
  1. String collectionPath
)

Gets a Query for the specified collection group.

Implementation

Query<Map<String, dynamic>> collectionGroup(String collectionPath) {
  assert(
    collectionPath.isNotEmpty,
    'a collection path must be a non-empty string',
  );
  assert(
    !collectionPath.contains('/'),
    'a collection path passed to collectionGroup() cannot contain "/"',
  );

  return _JsonQuery(this, _delegate.collectionGroup(collectionPath));
}