MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / _execute_on_connection

Method _execute_on_connection

lib/sqlalchemy/sql/schema.py:3690–3704  ·  view source on GitHub ↗
(
        self,
        connection: Connection,
        distilled_params: _CoreMultiExecuteParams,
        execution_options: CoreExecuteOptionsParameter,
    )

Source from the content-addressed store, hash-verified

3688 raise NotImplementedError()
3689
3690 def _execute_on_connection(
3691 self,
3692 connection: Connection,
3693 distilled_params: _CoreMultiExecuteParams,
3694 execution_options: CoreExecuteOptionsParameter,
3695 ) -> Any:
3696 util.warn_deprecated(
3697 "Using the .execute() method to invoke a "
3698 "DefaultGenerator object is deprecated; please use "
3699 "the .scalar() method.",
3700 "2.0",
3701 )
3702 return self._execute_on_scalar(
3703 connection, distilled_params, execution_options
3704 )
3705
3706 def _execute_on_scalar(
3707 self,

Callers

nothing calls this directly

Calls 1

_execute_on_scalarMethod · 0.95

Tested by

no test coverage detected