runInTransaction<T> abstract method

Future<T> runInTransaction<T>(
  1. Future<T> operation(), [
  2. Isolation isolation
])

Allow multiple queries to be run in a transaction. The user must wait for runInTransaction() to complete before making any further queries.

Implementation

Future<T> runInTransaction<T>(Future<T> operation(), [Isolation isolation]);