Class: Google::Cloud::Firestore::V1::StructuredQuery::CompositeFilter
- Inherits:
-
Object
- Object
- Google::Cloud::Firestore::V1::StructuredQuery::CompositeFilter
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/firestore/v1/query.rb
Overview
A filter that merges multiple other filters using the given operator.
Defined Under Namespace
Modules: Operator
Instance Attribute Summary collapse
-
#filters ⇒ ::Array<::Google::Cloud::Firestore::V1::StructuredQuery::Filter>
The list of filters to combine.
-
#op ⇒ ::Google::Cloud::Firestore::V1::StructuredQuery::CompositeFilter::Operator
The operator for combining multiple filters.
Instance Attribute Details
#filters ⇒ ::Array<::Google::Cloud::Firestore::V1::StructuredQuery::Filter>
Returns The list of filters to combine.
Requires:
- At least one filter is present.
183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 |
# File 'proto_docs/google/firestore/v1/query.rb', line 183 class CompositeFilter include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # A composite filter operator. module Operator # Unspecified. This value must not be used. OPERATOR_UNSPECIFIED = 0 # Documents are required to satisfy all of the combined filters. AND = 1 # Documents are required to satisfy at least one of the combined filters. OR = 2 end end |
#op ⇒ ::Google::Cloud::Firestore::V1::StructuredQuery::CompositeFilter::Operator
Returns The operator for combining multiple filters.
183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 |
# File 'proto_docs/google/firestore/v1/query.rb', line 183 class CompositeFilter include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # A composite filter operator. module Operator # Unspecified. This value must not be used. OPERATOR_UNSPECIFIED = 0 # Documents are required to satisfy all of the combined filters. AND = 1 # Documents are required to satisfy at least one of the combined filters. OR = 2 end end |