コード例 #1
0
    def _make_order_pb(field_path, direction):
        from google.cloud.firestore_v1beta1.proto import query_pb2
        from google.cloud.firestore_v1beta1.query import _enum_from_direction

        return query_pb2.StructuredQuery.Order(
            field=query_pb2.StructuredQuery.FieldReference(field_path=field_path),
            direction=_enum_from_direction(direction),
        )
コード例 #2
0
    def _make_order_pb(field_path, direction):
        from google.cloud.firestore_v1beta1.proto import query_pb2
        from google.cloud.firestore_v1beta1.query import _enum_from_direction

        return query_pb2.StructuredQuery.Order(
            field=query_pb2.StructuredQuery.FieldReference(
                field_path=field_path),
            direction=_enum_from_direction(direction),
        )
コード例 #3
0
    def _call_fut(direction):
        from google.cloud.firestore_v1beta1.query import _enum_from_direction

        return _enum_from_direction(direction)
コード例 #4
0
    def _call_fut(direction):
        from google.cloud.firestore_v1beta1.query import _enum_from_direction

        return _enum_from_direction(direction)