Skip to main content

SQLiteTransactionType

Type Alias SQLiteTransactionType 

Source
pub type SQLiteTransactionType = TransactionConfig;
Expand description

Backwards-compatible name for TransactionConfig.

Aliased Type§

pub enum SQLiteTransactionType {
    Deferred,
    Immediate,
    Exclusive,
}

Variants§

§

Deferred

A deferred transaction is the default - it does not acquire locks until needed

§

Immediate

An immediate transaction acquires a RESERVED lock immediately

§

Exclusive

An exclusive transaction acquires an EXCLUSIVE lock immediately