Firestore v1 API - Enum StructuredQuery.Types.FieldFilter.Types.Operator (3.7.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

Google.Cloud.Firestore.V1

Assembly

Google.Cloud.Firestore.V1.dll

Fields

Name Description
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, subject to disjunction limits.
  • No other ARRAY_CONTAINS_ANY filters within the same disjunction.
  • No NOT_IN filters in the same query.
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, subject to disjunction limits.
  • No NOT_IN filters in the same query.
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 OR, 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.