MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / after_execute

Method after_execute

lib/sqlalchemy/engine/events.py:275–304  ·  view source on GitHub ↗

Intercept high level execute() events after execute. :param conn: :class:`_engine.Connection` object :param clauseelement: SQL expression construct, :class:`.Compiled` instance, or string statement passed to :meth:`_engine.Connection.execute`. :param multi

(
        self,
        conn: Connection,
        clauseelement: Executable,
        multiparams: _CoreMultiExecuteParams,
        params: _CoreSingleExecuteParams,
        execution_options: _ExecuteOptions,
        result: Result[Unpack[TupleAny]],
    )

Source from the content-addressed store, hash-verified

273 ),
274 )
275 def after_execute(
276 self,
277 conn: Connection,
278 clauseelement: Executable,
279 multiparams: _CoreMultiExecuteParams,
280 params: _CoreSingleExecuteParams,
281 execution_options: _ExecuteOptions,
282 result: Result[Unpack[TupleAny]],
283 ) -> None:
284 """Intercept high level execute() events after execute.
285
286
287 :param conn: :class:`_engine.Connection` object
288 :param clauseelement: SQL expression construct, :class:`.Compiled`
289 instance, or string statement passed to
290 :meth:`_engine.Connection.execute`.
291 :param multiparams: Multiple parameter sets, a list of dictionaries.
292 :param params: Single parameter set, a single dictionary.
293 :param execution_options: dictionary of execution
294 options passed along with the statement, if any. This is a merge
295 of all options that will be used, including those of the statement,
296 the connection, and those passed in to the method itself for
297 the 2.0 style of execution.
298
299 .. versionadded:: 1.4
300
301 :param result: :class:`_engine.CursorResult` generated by the
302 execution.
303
304 """
305
306 def before_cursor_execute(
307 self,

Callers 3

_execute_defaultMethod · 0.45
_execute_ddlMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected