select abstract method
Prepares sql, executes it with the given parameters and returns the
ResultSet.
If checkInTransaction is enabled, the host will verify that the
autocommit mode is disabled before running the statement (and report an
exception otherwise).
The abortTrigger can be used to abort the request. When that future
completes before the lock has been granted, the future may complete
with a AbortException without running the statement.
Implementation
Future<DatabaseResult<ResultSet>> select(
String sql, {
List<Object?> parameters = const [],
bool checkInTransaction = false,
LockToken? token,
Future<void>? abortTrigger,
});