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

Inherits:
Object
  • Object
show all
Defined in:
lib/google/cloud/firestore/v1/doc/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

#filtersArray<Google::Firestore::V1::StructuredQuery::Filter>

Returns The list of filters to combine. Must contain at least one filter.

Returns:



100
101
102
103
104
105
106
107
108
109
# File 'lib/google/cloud/firestore/v1/doc/google/firestore/v1/query.rb', line 100

class CompositeFilter
  # A composite filter operator.
  module Operator
    # Unspecified. This value must not be used.
    OPERATOR_UNSPECIFIED = 0

    # The results are required to satisfy each of the combined filters.
    AND = 1
  end
end

#opGoogle::Firestore::V1::StructuredQuery::CompositeFilter::Operator

Returns The operator for combining multiple filters.

Returns:



100
101
102
103
104
105
106
107
108
109
# File 'lib/google/cloud/firestore/v1/doc/google/firestore/v1/query.rb', line 100

class CompositeFilter
  # A composite filter operator.
  module Operator
    # Unspecified. This value must not be used.
    OPERATOR_UNSPECIFIED = 0

    # The results are required to satisfy each of the combined filters.
    AND = 1
  end
end