QueryFieldFilterConstraint class
Stay organized with collections
Save and categorize content based on your preferences.
A QueryFieldFilterConstraint
is used to narrow the set of documents returned by a Firestore query by filtering on one or more document fields. QueryFieldFilterConstraint
s are created by invoking where() and can then be passed to query() to create a new query instance that also contains this QueryFieldFilterConstraint
.
Signature:
export declare class QueryFieldFilterConstraint extends QueryConstraint
Extends: QueryConstraint
Properties
Property |
Modifiers |
Type |
Description |
type |
|
(not declared) |
The type of this query constraint |
QueryFieldFilterConstraint.type
The type of this query constraint
Signature:
readonly type = "where";
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 `QueryFieldFilterConstraint` is used to narrow the set of documents returned by a Firestore query by filtering on one or more document fields. `QueryFieldFilterConstraint`s are created by invoking [where()](./firestore_.md#where_0fae4bf) and can then be passed to [query()](./firestore_.md#query_9f7b0f4) to create a new query instance that also contains this `QueryFieldFilterConstraint`.\n\n**Signature:** \n\n export declare class QueryFieldFilterConstraint extends QueryConstraint \n\n**Extends:** [QueryConstraint](./firestore_lite.queryconstraint.md#queryconstraint_class)\n\nProperties\n\nQueryFieldFilterConstraint.type\n\nThe type of this query constraint\n\n**Signature:** \n\n readonly type = \"where\";"]]