getCollection abstract method
Future<Map<String, Map> ?>
getCollection(
- String collectionPath, {
- List<
DocumentQuery> filters, - DocumentOrderBy? orderBy,
- int? limit,
Returns a map of documents records from the database.
collectionPathThe path to the collection. e.g - "restaurants" - "restaurants/{restaurantId}/menuItems" - etc...filtersThe filter that will be applied on each record of the collection.limitThe maximum number of documents 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>>?> getCollection(
String collectionPath, {
List<DocumentQuery> filters,
DocumentOrderBy? orderBy,
int? limit,
});