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
-
(::Google::Cloud::Firestore::V1::StructuredQuery::CompositeFilter) — A composite filter.
Note: The following fields are mutually exclusive:
composite_filter
,field_filter
,unary_filter
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#composite_filter=
def composite_filter=(value) -> ::Google::Cloud::Firestore::V1::StructuredQuery::CompositeFilter
-
value (::Google::Cloud::Firestore::V1::StructuredQuery::CompositeFilter) — A composite filter.
Note: The following fields are mutually exclusive:
composite_filter
,field_filter
,unary_filter
. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Cloud::Firestore::V1::StructuredQuery::CompositeFilter) — A composite filter.
Note: The following fields are mutually exclusive:
composite_filter
,field_filter
,unary_filter
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#field_filter
def field_filter() -> ::Google::Cloud::Firestore::V1::StructuredQuery::FieldFilter
-
(::Google::Cloud::Firestore::V1::StructuredQuery::FieldFilter) — A filter on a document field.
Note: The following fields are mutually exclusive:
field_filter
,composite_filter
,unary_filter
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#field_filter=
def field_filter=(value) -> ::Google::Cloud::Firestore::V1::StructuredQuery::FieldFilter
-
value (::Google::Cloud::Firestore::V1::StructuredQuery::FieldFilter) — A filter on a document field.
Note: The following fields are mutually exclusive:
field_filter
,composite_filter
,unary_filter
. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Cloud::Firestore::V1::StructuredQuery::FieldFilter) — A filter on a document field.
Note: The following fields are mutually exclusive:
field_filter
,composite_filter
,unary_filter
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#unary_filter
def unary_filter() -> ::Google::Cloud::Firestore::V1::StructuredQuery::UnaryFilter
-
(::Google::Cloud::Firestore::V1::StructuredQuery::UnaryFilter) — A filter that takes exactly one argument.
Note: The following fields are mutually exclusive:
unary_filter
,composite_filter
,field_filter
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#unary_filter=
def unary_filter=(value) -> ::Google::Cloud::Firestore::V1::StructuredQuery::UnaryFilter
-
value (::Google::Cloud::Firestore::V1::StructuredQuery::UnaryFilter) — A filter that takes exactly one argument.
Note: The following fields are mutually exclusive:
unary_filter
,composite_filter
,field_filter
. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Cloud::Firestore::V1::StructuredQuery::UnaryFilter) — A filter that takes exactly one argument.
Note: The following fields are mutually exclusive:
unary_filter
,composite_filter
,field_filter
. If a field in that set is populated, all other fields in the set will automatically be cleared.