diff options
author | Mike Bayer <mike_mp@zzzcomputing.com> | 2020-03-26 17:26:57 -0400 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2020-03-26 17:26:57 -0400 |
commit | ee1e1e2f5540a6e32986b1041db4dfd55894e68b (patch) | |
tree | 1c86cde57aef8603d12ca3935fa43cd042f99b11 /test/base/test_utils.py | |
parent | 2d4171ec8c85a468bdbdcf55e8d053b1586747ff (diff) | |
download | sqlalchemy-ee1e1e2f5540a6e32986b1041db4dfd55894e68b.tar.gz |
introduce "autobegin" concept for Connection
because engine.connect() and engine.begin() should feature
identical internal behavior, with the sole exception that
one rolls back and the end and the other commits at the end,
while also supporting execution options like transaction isolation level
at the connection level, include that engine.connect() will
return a connection that uses autobegin in the same way as the
session will. This is solely to support the "begin" event
noting that a transaction is begun which is tracked on the
connection. Behavior and design should be very similar to that
of the ORM session and "Transaction" should no longer be a very
explicit object.
Change-Id: I9c317d242ca7a435de0f17b1618355e29a10d1bc
Diffstat (limited to 'test/base/test_utils.py')
0 files changed, 0 insertions, 0 deletions