TypedQuery<D extends DocData> class
Methods
-
endAt(List values)
→ TypedQuery<D>
-
Takes a list of
values
, creates and returns a new Query
that ends at the
provided fields relative to the order of the query.
-
endBefore(List values)
→ TypedQuery<D>
-
Takes a list of
values
, creates and returns a new Query
that ends before
the provided fields relative to the order of the query.
-
getDocs([GetOptions? options])
→ Future<TypedQuerySnapshot<D>>
-
Fetch the documents for this query
-
limit(int length)
→ TypedQuery<D>
-
Creates and returns a new Query that's additionally limited to only return up to the specified number of documents.
-
map(Mapper<D, D> mapper)
→ TypedQuery<D>
-
mapper
is called after fetching documents.
-
mapList<T extends DocData>(Mapper<List<DocSnapshot<D>>, List<DocSnapshot<T>>> mapper)
→ TypedQuery<T>
-
mapper
is called after fetching documents.
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
orderBy(String field, {bool descending = false})
→ TypedQuery<D>
-
Creates and returns a new Query that's additionally sorted by the specified field.
-
snapshots({bool includeMetadataChanges = false})
→ Stream<TypedQuerySnapshot<D>>
-
Notifies of query results at this location
-
startAfter(List values)
→ TypedQuery<D>
-
Takes a list of
values
, creates and returns a new Query
that starts
after the provided fields relative to the order of the query.
-
startAt(List values)
→ TypedQuery<D>
-
Takes a list of
values
, creates and returns a new Query
that starts at
the provided fields relative to the order of the query.
-
toString()
→ String
-
A string representation of this object.
inherited
-
where(String field, {dynamic isEqualTo, dynamic isLessThan, dynamic isLessThanOrEqualTo, dynamic isGreaterThan, dynamic isGreaterThanOrEqualTo, dynamic arrayContains, bool? isNull})
→ TypedQuery<D>
-
Creates and returns a new Query with additional filter on specified field.