MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / begin

Method begin

test/engine/test_execute.py:1887–1889  ·  view source on GitHub ↗
(connection)

Source from the content-addressed store, hash-verified

1885
1886 @event.listens_for(e1, "begin")
1887 def begin(connection):
1888 result = connection.execute(select(1)).scalar()
1889 canary.got_result(result)
1890
1891 with e1.connect() as conn:
1892 conn.execute(select(1)).scalar()

Calls 3

selectFunction · 0.90
scalarMethod · 0.45
executeMethod · 0.45

Tested by

no test coverage detected