Reference documentation and code samples for the Firestore in Datastore mode V1 API module Google::Cloud::Datastore::V1::PropertyFilter::Operator.
A property filter operator.
Constants
OPERATOR_UNSPECIFIED
value: 0
Unspecified. This value must not be used.
LESS_THAN
value: 1
The given property
is less than the given value
.
Requires:
- That
property
comes first inorder_by
.
LESS_THAN_OR_EQUAL
value: 2
The given property
is less than or equal to the given value
.
Requires:
- That
property
comes first inorder_by
.
GREATER_THAN
value: 3
The given property
is greater than the given value
.
Requires:
- That
property
comes first inorder_by
.
GREATER_THAN_OR_EQUAL
value: 4
The given property
is greater than or equal to the given value
.
Requires:
- That
property
comes first inorder_by
.
EQUAL
value: 5
The given property
is equal to the given value
.
IN
value: 6
The given property
is equal to at least one value in the given array.
Requires:
- That
value
is a non-emptyArrayValue
, subject to disjunction limits. - No
NOT_IN
is in the same query.
NOT_EQUAL
value: 9
The given property
is not equal to the given value
.
Requires:
- No other
NOT_EQUAL
orNOT_IN
is in the same query. - That
property
comes first in theorder_by
.
HAS_ANCESTOR
value: 11
Limit the result set to the given entity and its descendants.
Requires:
- That
value
is an entity key. - All evaluated disjunctions must have the same
HAS_ANCESTOR
filter.
NOT_IN
value: 13
The value of the property
is not in the given array.
Requires:
- That
value
is a non-emptyArrayValue
with at most 10 values. - No other
OR
,IN
,NOT_IN
,NOT_EQUAL
is in the same query. - That
field
comes first in theorder_by
.