A QueryOrderByConstraint
is used to sort the set of documents returned by a Firestore query. QueryOrderByConstraint
s are created by invoking orderBy() and can then be passed to query() to create a new query instance that also contains this QueryOrderByConstraint
.
Signature:
export declare class QueryOrderByConstraint extends QueryConstraint
Extends: QueryConstraint
Properties
Property | Modifiers | Type | Description |
---|---|---|---|
type | (not declared) | The type of this query constraint |
QueryOrderByConstraint.type
The type of this query constraint
Signature:
readonly type = "orderBy";