Class: Google::Firestore::V1::StructuredQuery::UnaryFilter
- Inherits:
-
Object
- Object
- Google::Firestore::V1::StructuredQuery::UnaryFilter
- Defined in:
- lib/google/cloud/firestore/v1/doc/google/firestore/v1/query.rb
Overview
A filter with a single operand.
Defined Under Namespace
Modules: Operator
Instance Attribute Summary collapse
-
#field ⇒ Google::Firestore::V1::StructuredQuery::FieldReference
The field to which to apply the operator.
-
#op ⇒ Google::Firestore::V1::StructuredQuery::UnaryFilter::Operator
The unary operator to apply.
Instance Attribute Details
#field ⇒ Google::Firestore::V1::StructuredQuery::FieldReference
Returns The field to which to apply the operator.
172 173 174 175 176 177 178 179 180 181 182 183 184 |
# File 'lib/google/cloud/firestore/v1/doc/google/firestore/v1/query.rb', line 172 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 |
#op ⇒ Google::Firestore::V1::StructuredQuery::UnaryFilter::Operator
Returns The unary operator to apply.
172 173 174 175 176 177 178 179 180 181 182 183 184 |
# File 'lib/google/cloud/firestore/v1/doc/google/firestore/v1/query.rb', line 172 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 |