Home > @firebase/firestore > lite > QueryConstraint
QueryConstraint class
A QueryConstraint is used to narrow the set of documents returned by a Firestore query. QueryConstraints are created by invoking where(), orderBy(), startAt(), startAfter(), , endAt(), limit() or 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 constraints |