pub async fn begin<C: TransactionTrait>(db: &C) -> Result<C::Transaction>
Begins and returns a transaction so the caller can commit or roll it back.
This centralizes begin error mapping.
begin