PostgresConnector constructor
PostgresConnector(
- PostgresConfig config
Constructs a new PostgresConnector using the provided PostgresConfig.
Initializes the underlying connection using the details from the config.
Implementation
PostgresConnector(PostgresConfig config) {
_connection = PostgreSQLConnection(
config.host,
config.port,
config.databaseName,
username: config.username,
password: config.password,
);
}