Firestore v1 API - Enum StructuredQuery.Types.FieldFilter.Types.Operator (3.6.0)
Stay organized with collections
Save and categorize content based on your preferences.
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.
|
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-09-05 UTC.
[{
"type": "thumb-down",
"id": "hardToUnderstand",
"label":"Hard to understand"
},{
"type": "thumb-down",
"id": "incorrectInformationOrSampleCode",
"label":"Incorrect information or sample code"
},{
"type": "thumb-down",
"id": "missingTheInformationSamplesINeed",
"label":"Missing the information/samples I need"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]
{
"lastModified": "Last updated 2024-09-05 UTC.",
"confidential": False
}