QueryEndAtConstraint class
Stay organized with collections
Save and categorize content based on your preferences.
A QueryEndAtConstraint
is used to exclude documents from the end of a result set returned by a Firestore query. QueryEndAtConstraint
s are created by invoking endAt() or endBefore() and can then be passed to query() to create a new query instance that also contains this QueryEndAtConstraint
.
Signature:
export declare class QueryEndAtConstraint extends QueryConstraint
Extends: QueryConstraint
Properties
Property |
Modifiers |
Type |
Description |
type |
|
'endBefore' | 'endAt' |
The type of this query constraint |
QueryEndAtConstraint.type
The type of this query constraint
Signature:
readonly type: 'endBefore' | 'endAt';
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 `QueryEndAtConstraint` is used to exclude documents from the end of a result set returned by a Firestore query. `QueryEndAtConstraint`s are created by invoking [endAt()](./firestore_.md#endat_9a4477f) or [endBefore()](./firestore_.md#endbefore_9a4477f) and can then be passed to [query()](./firestore_.md#query_9f7b0f4) to create a new query instance that also contains this `QueryEndAtConstraint`.\n\n**Signature:** \n\n export declare class QueryEndAtConstraint extends QueryConstraint \n\n**Extends:** [QueryConstraint](./firestore_.queryconstraint.md#queryconstraint_class)\n\nProperties\n\nQueryEndAtConstraint.type\n\nThe type of this query constraint\n\n**Signature:** \n\n readonly type: 'endBefore' | 'endAt';"]]