TypedQuery<D extends DocData> class

Implementers

Constructors

TypedQuery(TypedFirestore _firestore, Query _inner)
const

Properties

firestore TypedFirestore
no setter
hashCode int
The hash code for this object.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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.

Operators

operator ==(Object other) bool
The equality operator.
override