getCollectionGroup abstract method
Future<Map<String, Map> ?>
getCollectionGroup(
- String collectionID, {
- List<
DocumentQuery> filters, - int? limit,
- DocumentOrderBy? orderBy,
Returns a map of documents records from the database.
Each key of the returned map is a path to a document of a collection
with a id collectionID
.
collectionID
The id to the collection. e.g - "menuItems" - "orders" - etc...filters
The filter that will be applied on each record of the collection.limit
The maximum number of document to return. this integer must be greater than 0. Otherwise (if limit is not specified or limit is lower or equal to 0), all requested data will be returned.
Implementation
Future<Map<String, Map<dynamic, dynamic>>?> getCollectionGroup(
String collectionID, {
List<DocumentQuery> filters,
int? limit,
DocumentOrderBy? orderBy,
});