DatabaseConnectionUser.delegate constructor

DatabaseConnectionUser.delegate(
  1. DatabaseConnectionUser other, {
  2. QueryExecutor? executor,
  3. StreamQueryStore? streamQueries,
})

Creates another DatabaseConnectionUser by referencing the implementation from the other user.

Implementation

DatabaseConnectionUser.delegate(
  DatabaseConnectionUser other, {
  QueryExecutor? executor,
  StreamQueryStore? streamQueries,
}) : connection = DatabaseConnection(
       executor ?? other.connection.executor,
       streamQueries: streamQueries ?? other.connection.streamQueries,
     );