Add `transaction.atomic` to `commit_rows`