Class UnaryFilter (2.19.0)

UnaryFilter(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Attributes

Name Description
op google.cloud.firestore_v1.types.StructuredQuery.UnaryFilter.Operator
The unary operator to apply.
field google.cloud.firestore_v1.types.StructuredQuery.FieldReference
The field to which to apply the operator. This field is a member of oneof_ operand_type.

Classes

Operator

Operator(value)

A unary operator.

    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 (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`.