select method
Executes a query within this transaction, seeing uncommitted writes.
This runs on the writer connection (not the reader pool) so it can see rows inserted or updated earlier in the same transaction.
Throws StateError if called after the enclosing transaction body has returned.
Implementation
Future<List<Map<String, Object?>>> select(
String sql, [
List<Object?> parameters = const [],
]) async {
_ensureActive();
return _writer.select(sql, parameters);
}