Class: Google::Firestore::V1beta1::StructuredQuery::UnaryFilter

Inherits:
Object
  • Object
show all
Defined in:
lib/google/cloud/firestore/v1beta1/doc/google/firestore/v1beta1/query.rb

Overview

A filter with a single operand.

Defined Under Namespace

Modules: Operator

Instance Attribute Summary collapse

Instance Attribute Details

#fieldGoogle::Firestore::V1beta1::StructuredQuery::FieldReference

Returns The field to which to apply the operator.

Returns:



163
164
165
166
167
168
169
170
171
172
173
174
175
# File 'lib/google/cloud/firestore/v1beta1/doc/google/firestore/v1beta1/query.rb', line 163

class UnaryFilter
  # A unary operator.
  module Operator
    # Unspecified. This value must not be used.
    OPERATOR_UNSPECIFIED = 0

    # Test if a field is equal to NaN.
    IS_NAN = 2

    # Test if an expression evaluates to Null.
    IS_NULL = 3
  end
end

#opGoogle::Firestore::V1beta1::StructuredQuery::UnaryFilter::Operator

Returns The unary operator to apply.

Returns:



163
164
165
166
167
168
169
170
171
172
173
174
175
# File 'lib/google/cloud/firestore/v1beta1/doc/google/firestore/v1beta1/query.rb', line 163

class UnaryFilter
  # A unary operator.
  module Operator
    # Unspecified. This value must not be used.
    OPERATOR_UNSPECIFIED = 0

    # Test if a field is equal to NaN.
    IS_NAN = 2

    # Test if an expression evaluates to Null.
    IS_NULL = 3
  end
end