PgDatabase.opened constructor

PgDatabase.opened(
  1. Session connection, {
  2. bool logStatements = false,
  3. bool enableMigrations = true,
})

Creates a drift database implementation from a postgres database connection.

Implementation

PgDatabase.opened(
  Session connection, {
  bool logStatements = false,
  bool enableMigrations = true,
}) : super(_PgDelegate(() => connection, false, enableMigrations),
          isSequential: true, logStatements: logStatements);