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.
163 164 165 166 167 168 169 170 171 172 173 174 175 |
# File 'lib/google/cloud/firestore/v1/doc/google/firestore/v1/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 |
#op ⇒ Google::Firestore::V1::StructuredQuery::UnaryFilter::Operator
Returns The unary operator to apply.
163 164 165 166 167 168 169 170 171 172 173 174 175 |
# File 'lib/google/cloud/firestore/v1/doc/google/firestore/v1/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 |