withExecutor method

DatabaseConnection withExecutor(
  1. QueryExecutor executor
)

Returns a database connection that is identical to this one, except that it uses the provided executor.

Implementation

DatabaseConnection withExecutor(QueryExecutor executor) {
  return DatabaseConnection(executor, streamQueries: streamQueries);
}