class
PostgresConnector extends Connector implements
ConnectorInterface (View source)
Traits
Methods
array
getOptions(
array $config)
Get the PDO options based on the configuration.
createConnection(
string $dsn,
array $config,
array $options)
Create a new PDO connection.
connect(
array $config)
Establish a database connection.
Details
array
getOptions(
array $config)
Get the PDO options based on the configuration.
PDO
createConnection(
string $dsn,
array $config,
array $options)
Create a new PDO connection.
array
getDefaultOptions()
Get the default PDO connection options.
void
setDefaultOptions(
array $options)
Set the default PDO connection options.
PDO
connect(
array $config)
Establish a database connection.