프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$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 |