run<R> abstract method
Obtains a Session capable of running statements and calls fn
with
it.
Returns the result (either the value or an error) of invoking fn
. No
updates will be reverted in the event of an error.
Implementation
Future<R> run<R>(
Future<R> Function(Session session) fn, {
SessionSettings? settings,
});