Свойство | Type | Description | |
---|---|---|---|
$options | array | The default PDO connection options. |
Méthode | Description | |
---|---|---|
connect ( array $config ) : PDO | Establish a database connection. | |
createConnection ( string $tns, array $config, array $options ) : PDO | Create a new PDO connection. |
Méthode | 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. |
Méthode | Description | |
---|---|---|
setPort ( array $config ) : array | Set port from config. | |
setProtocol ( array $config ) : array | Set protocol from config. |
protected checkMultipleHostDsn ( array $config ) : array | ||
$config | array | |
Résultat | array |
protected parseConfig ( array $config ) : array | ||
$config | array | |
Résultat | array |
protected setCharset ( array $config ) : array | ||
$config | array | |
Résultat | array |
protected setServiceId ( array $config ) : array | ||
$config | array | |
Résultat | array |
protected array $options | ||
Résultat | array |