(
self,
connection: Connection,
distilled_params: _CoreMultiExecuteParams,
execution_options: CoreExecuteOptionsParameter,
)
| 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, |
nothing calls this directly
no test coverage detected