MCPcopy Create free account
hub / github.com/sqlalchemy/sqlalchemy / _bind_param

Method _bind_param

lib/sqlalchemy/sql/elements.py:4661–4676  ·  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

4659 return name
4660
4661 def _bind_param(
4662 self,
4663 operator: OperatorType,
4664 obj: Any,
4665 type_: Optional[TypeEngine[_T]] = None,
4666 expanding: bool = False,
4667 ) -> BindParameter[_T]:
4668 return BindParameter(
4669 self.key,
4670 obj,
4671 _compared_to_operator=operator,
4672 _compared_to_type=self.type,
4673 type_=type_,
4674 unique=True,
4675 expanding=expanding,
4676 )
4677
4678 def _make_proxy(
4679 self,

Callers

nothing calls this directly

Calls 1

BindParameterClass · 0.85

Tested by

no test coverage detected