UnaryFilter(mapping=None, *, ignore_unknown_fields=False, **kwargs)
A filter with a single operand.
.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields
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`.