mirror of
https://github.com/isar/rusqlite.git
synced 2025-10-19 06:18:56 +08:00
Fix missing docs
This commit is contained in:
@@ -6,8 +6,14 @@ use std::ops::Deref;
|
||||
#[derive(Copy, Clone)]
|
||||
#[non_exhaustive]
|
||||
pub enum TransactionBehavior {
|
||||
/// DEFERRED means that the transaction does not actually start until the
|
||||
/// database is first accessed.
|
||||
Deferred,
|
||||
/// IMMEDIATE cause the database connection to start a new write
|
||||
/// immediately, without waiting for a writes statement.
|
||||
Immediate,
|
||||
/// EXCLUSIVE prevents other database connections from reading the database
|
||||
/// while the transaction is underway.
|
||||
Exclusive,
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user