Property | Type | Description | |
---|---|---|---|
$options | array | The default PDO connection options. |
Method | Description | |
---|---|---|
connect ( array $config ) : PDO | Establish a database connection. | |
createConnection ( string $tns, array $config, array $options ) : PDO | Create a new PDO connection. |
Method | Description | |
---|---|---|
checkMultipleHostDsn ( array $config ) : array | Set DSN host from config. | |
getDsn ( array $config ) : string | Create a DSN string from a configuration. | |
parseConfig ( array $config ) : array | Parse configurations. | |
setCharset ( array $config ) : array | Set charset from config. | |
setHost ( array $config ) : array | Set host from config. | |
setServiceId ( array $config ) : array | Set service id from config. | |
setTNS ( array $config ) : array | Set tns from config. |
Method | Description | |
---|---|---|
setPort ( array $config ) : array | Set port from config. | |
setProtocol ( array $config ) : array | Set protocol from config. |
protected checkMultipleHostDsn ( array $config ) : array | ||
$config | array | |
return | array |
protected parseConfig ( array $config ) : array | ||
$config | array | |
return | array |
protected setCharset ( array $config ) : array | ||
$config | array | |
return | array |
protected setServiceId ( array $config ) : array | ||
$config | array | |
return | array |
protected array $options | ||
return | array |