Reference documentation and code samples for the Cloud Datastore V1 Client class Operator.
A property filter operator.
Protobuf type google.datastore.v1.PropertyFilter.Operator
Namespace
Google \ Cloud \ Datastore \ V1 \ PropertyFilterMethods
static::name
Parameter | |
---|---|
Name | Description |
value |
mixed
|
static::value
Parameter | |
---|---|
Name | Description |
name |
mixed
|
Constants
OPERATOR_UNSPECIFIED
Value: 0
Unspecified. This value must not be used.
Generated from protobuf enum OPERATOR_UNSPECIFIED = 0;
LESS_THAN
Value: 1
The given property
is less than the given value
.
Requires:
- That
property
comes first inorder_by
.
Generated from protobuf enum LESS_THAN = 1;
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
.
Generated from protobuf enum LESS_THAN_OR_EQUAL = 2;
GREATER_THAN
Value: 3
The given property
is greater than the given value
.
Requires:
- That
property
comes first inorder_by
.
Generated from protobuf enum GREATER_THAN = 3;
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
.
Generated from protobuf enum GREATER_THAN_OR_EQUAL = 4;
EQUAL
Value: 5
The given property
is equal to the given value
.
Generated from protobuf enum EQUAL = 5;
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.
Generated from protobuf enum IN = 6;
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
.
Generated from protobuf enum NOT_EQUAL = 9;
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.
Generated from protobuf enum HAS_ANCESTOR = 11;
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
.
Generated from protobuf enum NOT_IN = 13;