File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed
Filter options
Expand file tree Collapse file tree 1 file changed +8
-1
lines changed
Original file line number Diff line number Diff line change @@ -346,7 +346,7 @@ Connection Objects
346
346
called as the SQL function. If *deterministic * is true, the created function
347
347
is marked as `deterministic <https://sqlite.org/deterministic.html >`_, which
348
348
allows SQLite to perform additional optimizations. This flag is supported by
349
- SQLite 3.8.3 or higher, `` sqlite3. NotSupportedError` ` will be raised if used
349
+ SQLite 3.8.3 or higher, :exc: ` NotSupportedError ` will be raised if used
350
350
with older versions.
351
351
352
352
The function can return any of the types supported by SQLite: bytes, str, int,
@@ -835,6 +835,13 @@ Exceptions
835
835
disconnect occurs, the data source name is not found, a transaction could
836
836
not be processed, etc. It is a subclass of :exc: `DatabaseError `.
837
837
838
+ .. exception :: NotSupportedError
839
+
840
+ Exception raised in case a method or database API was used which is not
841
+ supported by the database, e.g. calling the :meth: `~Connection.rollback `
842
+ method on a connection that does not support transaction or has
843
+ transactions turned off. It is a subclass of :exc: `DatabaseError `.
844
+
838
845
839
846
.. _sqlite3-types :
840
847
You can’t perform that action at this time.
0 commit comments