]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
rewrite the docs on SQLite transaction handling
authorMike Bayer <mike_mp@zzzcomputing.com>
Mon, 12 May 2025 19:25:07 +0000 (15:25 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Mon, 12 May 2025 19:27:57 +0000 (15:27 -0400)
commit39b2cf52170b806ef324241aa5fe3e086111e6ce
tree1791251ad38d392b5b96f0e684425834667172e9
parentadef933f8d129382f92c2af81fdace9c93006ab0
rewrite the docs on SQLite transaction handling

SQLite has added the new "connection.autocommit" mode and
associated fixes for pep-249 as of python 3.12.   they plan to
default to using this attribute as of python 3.16.   Get
on top of things by rewriting the whole doc section here, removing
old cruft about sqlalchemy isolation levels that was not correct
in any case, update recipes in a more succinct and unified way.

References: #12585
Change-Id: I9d1de8dcc27f1731ecd3c723718942148dcd0a1a
(cherry picked from commit 10ff201db40e069e8f90bb0883a916ba3d9cc96e)
lib/sqlalchemy/dialects/sqlite/aiosqlite.py
lib/sqlalchemy/dialects/sqlite/base.py
lib/sqlalchemy/dialects/sqlite/pysqlite.py