collectionGroup method

Query collectionGroup(
  1. String collectionPath
)

Gets a Query for the specified collection group.

Implementation

Query 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 Query._(this, _delegate.collectionGroup(collectionPath));
}