A QueryConstraint is used to narrow the set of documents returned by a Firestore query. QueryConstraints are created by invoking where(), orderBy(), startAt(), startAfter(), endBefore(), endAt(), limit(), limitToLast() and can then be passed to query() to create a new query instance that also contains this QueryConstraint.
Signature:
export declare abstract class QueryConstraint
Properties
| Property | Modifiers | Type | Description |
|---|---|---|---|
| type | QueryConstraintType | The type of this query constraint |
QueryConstraint.type
The type of this query constraint
Signature:
abstract readonly type: QueryConstraintType;