PostgreSQLConnection constructor

PostgreSQLConnection(
  1. DatabaseConfig config
)

Implementation

PostgreSQLConnection(this.config) {
  if (config.type != DatabaseType.postgresql) {
    throw ArgumentError('Config must be for PostgreSQL');
  }
}