PgDatabase.opened constructor
PgDatabase.opened(})
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);