MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / four

Method four

test/orm/test_events.py:750–751  ·  view source on GitHub ↗
(ctx)

Source from the content-addressed store, hash-verified

748
749 @event.listens_for(sess, "do_orm_execute")
750 def four(ctx):
751 ctx.update_execution_options(four=True)
752
753 result = sess.execute(select(literal_column("1")))
754

Callers

nothing calls this directly

Calls 3

invoke_statementMethod · 0.80
execution_optionsMethod · 0.45

Tested by

no test coverage detected