2.2.0 (latest) 2.0.6 1.34.2 1.33.1 1.32.3 1.31.0 1.30.0 1.29.2 1.28.2 1.26.0 1.25.0 1.24.4 1.23.0 1.22.1 1.21.2 1.19.0 1.18.1 1.17.1 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 \\ PropertyFilter

## Methods

### 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 in `order_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 in `order_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 in `order_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 in `order_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-empty `ArrayValue`, 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` or `NOT_IN` is in the same query.
- That `property` comes first in the `order_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-empty `ArrayValue` with at most 10 values.
- No other `OR`, `IN`, `NOT_IN`, `NOT_EQUAL` is in the same query.
- That `field` comes first in the `order_by`.

Generated from protobuf enum `NOT_IN = 13;`