def _make_field_filter_pb(field_path, op_string, value): from google.cloud.firestore_v1beta1.proto import query_pb2 from google.cloud.firestore_v1beta1 import _helpers from google.cloud.firestore_v1beta1.query import _enum_from_op_string return query_pb2.StructuredQuery.FieldFilter( field=query_pb2.StructuredQuery.FieldReference(field_path=field_path), op=_enum_from_op_string(op_string), value=_helpers.encode_value(value), )
def _make_field_filter_pb(field_path, op_string, value): from google.cloud.firestore_v1beta1.proto import query_pb2 from google.cloud.firestore_v1beta1 import _helpers from google.cloud.firestore_v1beta1.query import _enum_from_op_string return query_pb2.StructuredQuery.FieldFilter( field=query_pb2.StructuredQuery.FieldReference( field_path=field_path), op=_enum_from_op_string(op_string), value=_helpers.encode_value(value), )
def _call_fut(op_string): from google.cloud.firestore_v1beta1.query import _enum_from_op_string return _enum_from_op_string(op_string)
def _call_fut(op_string): from google.cloud.firestore_v1beta1.query import _enum_from_op_string return _enum_from_op_string(op_string)