QueryStartAtConstraint class
Stay organized with collections
Save and categorize content based on your preferences.
A QueryStartAtConstraint
is used to exclude documents from the start of a result set returned by a Firestore query. QueryStartAtConstraint
s are created by invoking startAt() or startAfter() and can then be passed to query() to create a new query instance that also contains this QueryStartAtConstraint
.
Signature:
export declare class QueryStartAtConstraint extends QueryConstraint
Extends: QueryConstraint
Properties
Property |
Modifiers |
Type |
Description |
type |
|
'startAt' | 'startAfter' |
The type of this query constraint |
QueryStartAtConstraint.type
The type of this query constraint
Signature:
readonly type: 'startAt' | 'startAfter';
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-01-19 UTC.
[null,null,["Last updated 2024-01-19 UTC."],[],[],null,["A `QueryStartAtConstraint` is used to exclude documents from the start of a result set returned by a Firestore query. `QueryStartAtConstraint`s are created by invoking [startAt()](./firestore_.md#startat_9a4477f) or [startAfter()](./firestore_.md#startafter_9a4477f) and can then be passed to [query()](./firestore_.md#query_9f7b0f4) to create a new query instance that also contains this `QueryStartAtConstraint`.\n\n**Signature:** \n\n export declare class QueryStartAtConstraint extends QueryConstraint \n\n**Extends:** [QueryConstraint](./firestore_lite.queryconstraint.md#queryconstraint_class)\n\nProperties\n\nQueryStartAtConstraint.type\n\nThe type of this query constraint\n\n**Signature:** \n\n readonly type: 'startAt' | 'startAfter';"]]