DatabaseConnection.fromExecutor constructor Null safety

DatabaseConnection.fromExecutor(
  1. QueryExecutor executor
)

Constructs a DatabaseConnection from the QueryExecutor by using the default type system and a new StreamQueryStore.

Implementation

DatabaseConnection.fromExecutor(this.executor)
    : typeSystem = SqlTypeSystem.defaultInstance,
      streamQueries = StreamQueryStore();