Reference documentation and code samples for the Cloud Firestore V1 API class Google::Cloud::Firestore::V1::StructuredQuery::Filter.
A filter.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#composite_filter
def composite_filter() -> ::Google::Cloud::Firestore::V1::StructuredQuery::CompositeFilter
Returns
- (::Google::Cloud::Firestore::V1::StructuredQuery::CompositeFilter) — A composite filter.
#composite_filter=
def composite_filter=(value) -> ::Google::Cloud::Firestore::V1::StructuredQuery::CompositeFilter
Parameter
- value (::Google::Cloud::Firestore::V1::StructuredQuery::CompositeFilter) — A composite filter.
Returns
- (::Google::Cloud::Firestore::V1::StructuredQuery::CompositeFilter) — A composite filter.
#field_filter
def field_filter() -> ::Google::Cloud::Firestore::V1::StructuredQuery::FieldFilter
Returns
- (::Google::Cloud::Firestore::V1::StructuredQuery::FieldFilter) — A filter on a document field.
#field_filter=
def field_filter=(value) -> ::Google::Cloud::Firestore::V1::StructuredQuery::FieldFilter
Parameter
- value (::Google::Cloud::Firestore::V1::StructuredQuery::FieldFilter) — A filter on a document field.
Returns
- (::Google::Cloud::Firestore::V1::StructuredQuery::FieldFilter) — A filter on a document field.
#unary_filter
def unary_filter() -> ::Google::Cloud::Firestore::V1::StructuredQuery::UnaryFilter
Returns
- (::Google::Cloud::Firestore::V1::StructuredQuery::UnaryFilter) — A filter that takes exactly one argument.
#unary_filter=
def unary_filter=(value) -> ::Google::Cloud::Firestore::V1::StructuredQuery::UnaryFilter
Parameter
- value (::Google::Cloud::Firestore::V1::StructuredQuery::UnaryFilter) — A filter that takes exactly one argument.
Returns
- (::Google::Cloud::Firestore::V1::StructuredQuery::UnaryFilter) — A filter that takes exactly one argument.