Send feedback
Firestore v1 API - Enum StructuredQuery.Types.FieldFilter.Types.Operator (3.12.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version latestkeyboard_arrow_down
public enum StructuredQuery . Types . FieldFilter . Types . Operator
Reference documentation and code samples for the Firestore v1 API enum StructuredQuery.Types.FieldFilter.Types.Operator.
A field filter operator.
Namespace
Google.Cloud.Firestore.V1
Assembly
Google.Cloud.Firestore.V1.dll
Fields
Name
Description
ArrayContains
The given field is an array that contains the given value.
ArrayContainsAny
The given field is an array that contains any of the values in the
given array.
Requires:
That value is a non-empty ArrayValue, subject to disjunction
limits.
No other ARRAY_CONTAINS_ANY filters within the same disjunction.
No NOT_IN filters in the same query.
Equal
The given field is equal to the given value.
GreaterThan
The given field is greater than the given value.
Requires:
That field come first in order_by.
GreaterThanOrEqual
The given field is greater than or equal to the given value.
Requires:
That field come first in order_by.
In
The given field is equal to at least one value in the given array.
Requires:
That value is a non-empty ArrayValue, subject to disjunction
limits.
No NOT_IN filters in the same query.
LessThan
The given field is less than the given value.
Requires:
That field come first in order_by.
LessThanOrEqual
The given field is less than or equal to the given value.
Requires:
That field come first in order_by.
NotEqual
The given field is not equal to the given value.
Requires:
No other NOT_EQUAL, NOT_IN, IS_NOT_NULL, or IS_NOT_NAN.
That field comes first in the order_by.
NotIn
The value of the field is not in the given array.
Requires:
That value is a non-empty ArrayValue with at most 10 values.
No other OR, IN, ARRAY_CONTAINS_ANY, NOT_IN, NOT_EQUAL,
IS_NOT_NULL, or IS_NOT_NAN.
That field comes first in the order_by.
Unspecified
Unspecified. This value must not be used.
Send feedback
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 2025-11-05 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-11-05 UTC."],[],[]]