beginTransaction abstract method
Starts a new transaction manually.
The caller is responsible for calling Transaction.commit or Transaction.rollback on the returned object.
For most use cases, runInTransaction is preferred as it handles lifecycle and nesting automatically.
Implementation
Future<Transaction> beginTransaction();