DatabaseConnectionUser constructor
- QueryExecutor executor,
- {StreamQueryStore? streamQueries}
Constructs a database connection user, which is responsible to store query streams, wrap the underlying executor and perform type mapping.
Implementation
DatabaseConnectionUser(QueryExecutor executor,
{StreamQueryStore? streamQueries})
: connection = executor is DatabaseConnection
? executor
: DatabaseConnection(executor, streamQueries: streamQueries);