readTransaction<T> abstract method

Future<T> readTransaction<T>(
  1. Future<T> action(
    1. Transaction txn
    )
)

Read-only transaction (experimental, for now only supported in async_sqlite, use a normal transaction otherwise)

Implementation

Future<T> readTransaction<T>(Future<T> Function(Transaction txn) action);