DatabaseConnectionUser constructor Null safety

DatabaseConnectionUser(
  1. SqlTypeSystem typeSystem,
  2. QueryExecutor executor,
  3. {StreamQueryStore? streamQueries}
)

Constructs a database connection user, which is responsible to store query streams, wrap the underlying executor and perform type mapping.

Implementation

DatabaseConnectionUser(SqlTypeSystem typeSystem, QueryExecutor executor,
    {StreamQueryStore? streamQueries})
    : connection = DatabaseConnection(
          typeSystem, executor, streamQueries ?? StreamQueryStore());