Cloud Firestore V1 API - Module Google::Cloud::Firestore::V1::StructuredQuery::UnaryFilter::Operator (v0.7.0)

Reference documentation and code samples for the Cloud Firestore V1 API module Google::Cloud::Firestore::V1::StructuredQuery::UnaryFilter::Operator.

A unary operator.

Constants

OPERATOR_UNSPECIFIED

value: 0
Unspecified. This value must not be used.

IS_NAN

value: 2
The given field is equal to NaN.

IS_NULL

value: 3
The given field is equal to NULL.

IS_NOT_NAN

value: 4

The given field is not equal to NaN.

Requires:

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

IS_NOT_NULL

value: 5

The given field is not equal to NULL.

Requires:

  • A single NOT_EQUAL, NOT_IN, IS_NOT_NULL, or IS_NOT_NAN.
  • That field comes first in the order_by.