Свойство | Тип | Описание | |
---|---|---|---|
$options | array | The default PDO connection options. |
Метод | Описание | |
---|---|---|
connect ( array $config ) : PDO | Establish a database connection. | |
createConnection ( string $tns, array $config, array $options ) : PDO | Create a new PDO connection. |
Метод | Описание | |
---|---|---|
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. |
Метод | Описание | |
---|---|---|
setPort ( array $config ) : array | Set port from config. | |
setProtocol ( array $config ) : array | Set protocol from config. |
protected checkMultipleHostDsn ( array $config ) : array | ||
$config | array | |
Результат | array |
protected parseConfig ( array $config ) : array | ||
$config | array | |
Результат | array |
protected setCharset ( array $config ) : array | ||
$config | array | |
Результат | array |
protected setServiceId ( array $config ) : array | ||
$config | array | |
Результат | array |
protected array $options | ||
Результат | array |