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: 0Unspecified. This value must not be used.
Generated from protobuf enum OPERATOR_UNSPECIFIED = 0;
LESS_THAN
Value: 1The given property is less than the given value.
Requires:
- That
propertycomes first inorder_by.
Generated from protobuf enum LESS_THAN = 1;
LESS_THAN_OR_EQUAL
Value: 2The given property is less than or equal to the given value.
Requires:
- That
propertycomes first inorder_by.
Generated from protobuf enum LESS_THAN_OR_EQUAL = 2;
GREATER_THAN
Value: 3The given property is greater than the given value.
Requires:
- That
propertycomes first inorder_by.
Generated from protobuf enum GREATER_THAN = 3;
GREATER_THAN_OR_EQUAL
Value: 4The given property is greater than or equal to the given value.
Requires:
- That
propertycomes first inorder_by.
Generated from protobuf enum GREATER_THAN_OR_EQUAL = 4;
EQUAL
Value: 5The given property is equal to the given value.
Generated from protobuf enum EQUAL = 5;
IN
Value: 6The given property is equal to at least one value in the given array.
Requires:
- That
valueis a non-emptyArrayValue, subject to disjunction limits. - No
NOT_INis in the same query.
Generated from protobuf enum IN = 6;
NOT_EQUAL
Value: 9The given property is not equal to the given value.
Requires:
- No other
NOT_EQUALorNOT_INis in the same query. - That
propertycomes first in theorder_by.
Generated from protobuf enum NOT_EQUAL = 9;
HAS_ANCESTOR
Value: 11Limit the result set to the given entity and its descendants.
Requires:
- That
valueis an entity key. - All evaluated disjunctions must have the same
HAS_ANCESTORfilter.
Generated from protobuf enum HAS_ANCESTOR = 11;
NOT_IN
Value: 13The value of the property is not in the given array.
Requires:
- That
valueis a non-emptyArrayValuewith at most 10 values. - No other
OR,IN,NOT_IN,NOT_EQUALis in the same query. - That
fieldcomes first in theorder_by.
Generated from protobuf enum NOT_IN = 13;