MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / _bind_param

Method _bind_param

lib/sqlalchemy/sql/elements.py:5088–5103  ·  view source on GitHub ↗
(
        self,
        operator: OperatorType,
        obj: Any,
        type_: Optional[TypeEngine[_T]] = None,
        expanding: bool = False,
    )

Source from the content-addressed store, hash-verified

5086 return name
5087
5088 def _bind_param(
5089 self,
5090 operator: OperatorType,
5091 obj: Any,
5092 type_: Optional[TypeEngine[_T]] = None,
5093 expanding: bool = False,
5094 ) -> BindParameter[_T]:
5095 return BindParameter(
5096 self.key,
5097 obj,
5098 _compared_to_operator=operator,
5099 _compared_to_type=self.type,
5100 type_=type_,
5101 unique=True,
5102 expanding=expanding,
5103 )
5104
5105 def _make_proxy(
5106 self,

Callers

nothing calls this directly

Calls 1

BindParameterClass · 0.85

Tested by

no test coverage detected