pub async fn begin_write(
pool: &Db,
kind: DbKind,
) -> Result<Transaction<'_, Any>, KipukaError>Expand description
Begin a write transaction.
SQLite uses BEGIN IMMEDIATE to avoid SQLITE_BUSY_SNAPSHOT under WAL
mode; other backends use standard BEGIN.