class
Illuminate
/
Database
/
Connectors
/
PostgresConnector
You are viewing an older version of the documentation. For the latest, please visit master documentation.
PostgresConnector
Extends
Implements
Properties
protected
$options array
The default PDO connection options.
Default: array
Methods
protected
configureIsolationLevel ( $connection , array $config ) : void
Set the connection transaction isolation level.
Parameters
- $connection PDO
- $config array
protected
configureEncoding ( $connection , $config ) : void
Set the connection character set and collation.
Parameters
- $connection PDO
- $config array
protected
configureTimezone ( $connection , array $config ) : void
Set the timezone on the connection.
Parameters
- $connection PDO
- $config array
protected
configureSchema ( $connection , $config ) : void
Set the schema on the connection.
Parameters
- $connection PDO
- $config array
protected
formatSchema ( $schema ) : string
Format the schema for the DSN.
Parameters
- $schema array|string
protected
configureApplicationName ( $connection , $config ) : void
Set the schema on the connection.
Parameters
- $connection PDO
- $config array
protected
getDsn ( array $config ) : string
Create a DSN string from a configuration.
Parameters
- $config array
protected
addSslOptions ( $dsn , array $config ) : string
Add the SSL options to the DSN.
Parameters
- $dsn string
- $config array
protected
configureSynchronousCommit ( $connection , array $config ) : void
Configure the synchronous_commit setting.
Parameters
- $connection PDO
- $config array