Cloud Firestore V1beta1 Client - Class Operator (1.32.0)

Reference documentation and code samples for the Cloud Firestore V1beta1 Client class Operator.

A field filter operator.

Protobuf type google.firestore.v1beta1.StructuredQuery.FieldFilter.Operator

Methods

name

Parameter
NameDescription
value mixed

value

Parameter
NameDescription
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

Less than. Requires that the field come first in order_by.

Generated from protobuf enum LESS_THAN = 1;

LESS_THAN_OR_EQUAL

Value: 2

Less than or equal. Requires that the field come first in order_by.

Generated from protobuf enum LESS_THAN_OR_EQUAL = 2;

GREATER_THAN

Value: 3

Greater than. Requires that the field come first in order_by.

Generated from protobuf enum GREATER_THAN = 3;

GREATER_THAN_OR_EQUAL

Value: 4

Greater than or equal. Requires that the field come first in order_by.

Generated from protobuf enum GREATER_THAN_OR_EQUAL = 4;

EQUAL

Value: 5

Equal.

Generated from protobuf enum EQUAL = 5;

ARRAY_CONTAINS

Value: 7

Contains. Requires that the field is an array.

Generated from protobuf enum ARRAY_CONTAINS = 7;

IN

Value: 8

In. Requires that value is a non-empty ArrayValue with at most 10 values.

Generated from protobuf enum IN = 8;

ARRAY_CONTAINS_ANY

Value: 9

Contains any. Requires that the field is an array and value is a non-empty ArrayValue with at most 10 values.

Generated from protobuf enum ARRAY_CONTAINS_ANY = 9;