FirestoreConstraints
Typed Firestore constraints for a document type, built as a chain. Received by the
queryParams
callback of
Firestore requests and listeners; the adapter stores the constraints it collected.
import { FirestoreConstraints } from "@hyper-fetch/firebase"
Structure
| Name | Type | Description |
|---|---|---|
| | End at these values, inclusive: one per
|
| | End before these values, exclusive: one per
|
| | Limit the number of documents, like Firestore's
|
| | Order by a field, like Firestore's
|
| | Start after these values, exclusive. Pass the values of the last document to load the next page. |
| | Start at these values, inclusive: one per
|
| | The collected constraints, the data a request or listener stores. |
| | Filter by a field, like Firestore's
|

