pub async fn begin_transaction(
conn_slot: &mut MiddlewarePoolConnection,
) -> Result<Tx<'_>, SqlMiddlewareDbError>Expand description
Begin a transaction, temporarily taking ownership of the pooled SQLite connection
until commit/rollback (or drop) returns it to the wrapper.
ยงErrors
Returns SqlMiddlewareDbError if the transaction cannot be started.