readTransaction<T> abstract method
Open a read-only transaction.
Statements within the transaction must be done on the provided SqliteReadContext - attempting statements on the SqliteConnection instance will error.
Implementation
Future<T> readTransaction<T>(
Future<T> Function(SqliteReadContext tx) callback,
{Duration? lockTimeout});