Class: Google::Cloud::Firestore::V1::StructuredQuery::CompositeFilter

Inherits:
Object
  • Object
show all
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

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.

Returns:



176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
# File 'proto_docs/google/firestore/v1/query.rb', line 176

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.

Returns:



176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
# File 'proto_docs/google/firestore/v1/query.rb', line 176

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