QueryPartition extension type

A split point that can be used in a query as a starting and/or end point for the query results. The cursors returned by {@link #startAt} and {@link #endBefore} can only be used in a query that matches the constraint of query that produced this partition.

on
Implemented types
Available extensions

Properties

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

Methods

endBefore() JSArray<JSAny?>?
The cursor that defines the first result after this partition or undefined if this is the last partition. The cursor value must be destructured when passed to endBefore() (for example with query.endBefore(...queryPartition.endBefore)).
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
startAt() JSArray<JSAny?>?
The cursor that defines the first result for this partition or undefined if this is the first partition. The cursor value must be destructured when passed to startAt() (for example with query.startAt(...queryPartition.startAt)).
toQuery() Query
Returns a query that only returns the documents for this partition.
toString() String
A string representation of this object.
inherited

Operators

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