Documentation

This commit is contained in:
Gwendal Roué committed 2023-02-18 11:58:46 +01:00
1 parent 3c71a6deea
commit 6500a97f88
1 file changed
+6 -2
+6 -2
View File
@@ -284,8 +284,12 @@ public final class Database: CustomStringConvertible, CustomDebugStringConvertib
case on
}
/// Whether the last executed statement left the database is the auto-commit
/// mode or not.
/// The state of the auto-commit mode, as left by the last
/// executed statement.
///
/// The goal of this property is to detect changes in the auto-commit mode.
/// When you need to know if the database is currently in the auto-commit
/// mode, always prefer ``isInsideTransaction``.
var autocommitState = AutocommitState.on
/// The date of the current transaction, wrapped in a result that is an