MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / do_orm_execute

Method do_orm_execute

test/orm/test_query.py:6931–6939  ·  view source on GitHub ↗
(ctx)

Source from the content-addressed store, hash-verified

6929 m1 = mock.Mock()
6930
6931 def do_orm_execute(ctx):
6932 m1(ctx)
6933 if source.do_orm_exec:
6934 ctx.update_execution_options(
6935 autoflush=False,
6936 populate_existing=True,
6937 yield_per=10,
6938 identity_token="some_token",
6939 )
6940
6941 event.listen(s, "do_orm_execute", do_orm_execute)
6942

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected