Firestore v1 API - Enum StructuredQuery.Types.FieldFilter.Types.Operator (3.1.0)

public enum StructuredQuery.Types.FieldFilter.Types.Operator

Reference documentation and code samples for the Firestore v1 API enum StructuredQuery.Types.FieldFilter.Types.Operator.

A field filter operator.

Namespace

GoogleCloudGoogle.Cloud.FirestoreV1

Assembly

Google.Cloud.Firestore.V1.dll

Fields

NameDescription
ArrayContains

The given field is an array that contains the given value.

ArrayContainsAny

The given field is an array that contains any of the values in the given array.

Requires:

  • That value is a non-empty ArrayValue with at most 10 values.
  • No other IN or ARRAY_CONTAINS_ANY or NOT_IN.
Equal

The given field is equal to the given value.

GreaterThan

The given field is greater than the given value.

Requires:

  • That field come first in order_by.
GreaterThanOrEqual

The given field is greater than or equal to the given value.

Requires:

  • That field come first in order_by.
In

The given field is equal to at least one value in the given array.

Requires:

  • That value is a non-empty ArrayValue with at most 10 values.
  • No other IN or ARRAY_CONTAINS_ANY or NOT_IN.
LessThan

The given field is less than the given value.

Requires:

  • That field come first in order_by.
LessThanOrEqual

The given field is less than or equal to the given value.

Requires:

  • That field come first in order_by.
NotEqual

The given field is not equal to the given value.

Requires:

  • No other NOT_EQUAL, NOT_IN, IS_NOT_NULL, or IS_NOT_NAN.
  • That field comes first in the order_by.
NotIn

The value of the field is not in the given array.

Requires:

  • That value is a non-empty ArrayValue with at most 10 values.
  • No other IN, ARRAY_CONTAINS_ANY, NOT_IN, NOT_EQUAL, IS_NOT_NULL, or IS_NOT_NAN.
  • That field comes first in the order_by.
Unspecified

Unspecified. This value must not be used.