Reference documentation and code samples for the Firestore in Datastore mode V1 API class Google::Cloud::Datastore::V1::CompositeFilter.
A filter that merges multiple other filters using the given operator.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#filters
def filters() -> ::Array<::Google::Cloud::Datastore::V1::Filter>
Returns
- (::Array<::Google::Cloud::Datastore::V1::Filter>) — The list of filters to combine. Must contain at least one filter.
#filters=
def filters=(value) -> ::Array<::Google::Cloud::Datastore::V1::Filter>
Parameter
- value (::Array<::Google::Cloud::Datastore::V1::Filter>) — The list of filters to combine. Must contain at least one filter.
Returns
- (::Array<::Google::Cloud::Datastore::V1::Filter>) — The list of filters to combine. Must contain at least one filter.
#op
def op() -> ::Google::Cloud::Datastore::V1::CompositeFilter::Operator
Returns
- (::Google::Cloud::Datastore::V1::CompositeFilter::Operator) — The operator for combining multiple filters.
#op=
def op=(value) -> ::Google::Cloud::Datastore::V1::CompositeFilter::Operator
Parameter
- value (::Google::Cloud::Datastore::V1::CompositeFilter::Operator) — The operator for combining multiple filters.
Returns
- (::Google::Cloud::Datastore::V1::CompositeFilter::Operator) — The operator for combining multiple filters.