MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / bindparams

Method bindparams

lib/sqlalchemy/sql/elements.py:2797–2812  ·  view source on GitHub ↗

Not supported for TString constructs. TString constructs do not support .bindparams(). Bind parameters are automatically created from interpolated values.

(
        self,
        *binds: BindParameter[Any],
        **names_to_values: Any,
    )

Source from the content-addressed store, hash-verified

2795 )
2796
2797 def bindparams(
2798 self,
2799 *binds: BindParameter[Any],
2800 **names_to_values: Any,
2801 ) -> Self:
2802 """Not supported for TString constructs.
2803
2804 TString constructs do not support .bindparams(). Bind parameters
2805 are automatically created from interpolated values.
2806
2807 """
2808 raise NotImplementedError(
2809 "TString constructs do not support .bindparams(). "
2810 "Bind parameters are automatically created "
2811 "from interpolated values."
2812 )
2813
2814
2815class Null(SingletonConstant, roles.ConstExprRole[None], ColumnElement[None]):

Callers 15

do_prepare_twophaseMethod · 0.45
do_rollback_twophaseMethod · 0.45
do_commit_twophaseMethod · 0.45
get_view_definitionMethod · 0.45
do_begin_twophaseMethod · 0.45
do_prepare_twophaseMethod · 0.45
do_rollback_twophaseMethod · 0.45
do_commit_twophaseMethod · 0.45
test_typed_str_inMethod · 0.45
test_untyped_str_inMethod · 0.45

Calls

no outgoing calls