PgDatabase constructor

PgDatabase({
  1. required Endpoint endpoint,
  2. ConnectionSettings? settings,
  3. bool logStatements = false,
  4. bool enableMigrations = true,
})

Implementation

PgDatabase({
  required Endpoint endpoint,
  ConnectionSettings? settings,
  bool logStatements = false,
  bool enableMigrations = true,
}) : super(
        _PgDelegate(
          () => Connection.open(endpoint, settings: settings),
          true,
          enableMigrations,
        ),
        isSequential: true,
        logStatements: logStatements,
      );