Skip to main content

write_txn

Function write_txn 

Source
pub fn write_txn(conn: &mut Connection) -> Result<Transaction<'_>>
Expand description

Start a transaction that reserves SQLite’s single writer slot up front. This keeps read-then-write work out of the unretryable BUSY_SNAPSHOT path.