DatabaseConnection constructor

DatabaseConnection(
  1. QueryExecutor executor, {
  2. StreamQueryStore? streamQueries,
  3. FutureOr<Object?> connectionData,
})

Constructs a raw database connection from the executor and optionally a specified streamQueries implementation to use.

Implementation

DatabaseConnection(
  this.executor, {
  StreamQueryStore? streamQueries,
  this.connectionData,
}) : streamQueries = streamQueries ?? StreamQueryStore();