File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -2433,8 +2433,8 @@ the context manager does nothing.
24332433
24342434.. _sqlite3-howto-pragma-in-transaction :
24352435
2436- How to use ``PRAGMA `` statements in transactions
2437- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2436+ How to use ``PRAGMA `` statements with implicit transaction control
2437+ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
24382438
24392439Some ``PRAGMA `` statements have no effect within transactions.
24402440For example, a ``PRAGMA foreign_keys=ON `` query will silently fail
@@ -2678,8 +2678,7 @@ Transaction control via the ``autocommit`` attribute
26782678
26792679The recommended way of controlling transaction behaviour is through
26802680the :attr: `Connection.autocommit ` attribute,
2681- which should preferably be set using the *autocommit * parameter
2682- of :func: `connect `.
2681+ normally set using the *autocommit * parameter of :func: `connect `.
26832682
26842683Set *autocommit * to ``False `` for :pep: `249 `-compliant transaction control.
26852684This means:
You can’t perform that action at this time.
0 commit comments