Reference documentation and code samples for the Cloud Firestore V1 API class Google::Cloud::Firestore::V1::StructuredQuery::FieldFilter.
A filter on a specific field.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#field
def field() -> ::Google::Cloud::Firestore::V1::StructuredQuery::FieldReference
Returns
- (::Google::Cloud::Firestore::V1::StructuredQuery::FieldReference) — The field to filter by.
#field=
def field=(value) -> ::Google::Cloud::Firestore::V1::StructuredQuery::FieldReference
Parameter
- value (::Google::Cloud::Firestore::V1::StructuredQuery::FieldReference) — The field to filter by.
Returns
- (::Google::Cloud::Firestore::V1::StructuredQuery::FieldReference) — The field to filter by.
#op
def op() -> ::Google::Cloud::Firestore::V1::StructuredQuery::FieldFilter::Operator
Returns
- (::Google::Cloud::Firestore::V1::StructuredQuery::FieldFilter::Operator) — The operator to filter by.
#op=
def op=(value) -> ::Google::Cloud::Firestore::V1::StructuredQuery::FieldFilter::Operator
Parameter
- value (::Google::Cloud::Firestore::V1::StructuredQuery::FieldFilter::Operator) — The operator to filter by.
Returns
- (::Google::Cloud::Firestore::V1::StructuredQuery::FieldFilter::Operator) — The operator to filter by.
#value
def value() -> ::Google::Cloud::Firestore::V1::Value
Returns
- (::Google::Cloud::Firestore::V1::Value) — The value to compare to.
#value=
def value=(value) -> ::Google::Cloud::Firestore::V1::Value
Parameter
- value (::Google::Cloud::Firestore::V1::Value) — The value to compare to.
Returns
- (::Google::Cloud::Firestore::V1::Value) — The value to compare to.