Property | Type | Description | |
---|---|---|---|
$conn | |||
$platform | The backend platform. Set to UNKNOWN by default. |
Method | Description | |
---|---|---|
Connection ( $host, $port, $sslmode, $user, $password, $database, $fetchMode = ADODB_FETCH_ASSOC ) | Creates a new connection. Will actually make a database connection. | |
getDriver ( (return-by-ref) &$description ) : -3 | Gets the name of the correct database driver to use. As a side effect, sets the platform. | |
getLastError ( ) : Error | Get the last error in the connection |
public Connection ( $host, $port, $sslmode, $user, $password, $database, $fetchMode = ADODB_FETCH_ASSOC ) | ||
$fetchMode | Defaults to associative. Override for different behaviour |
public getDriver ( (return-by-ref) &$description ) : -3 | ||
$description | (return-by-ref) | |
return | -3 | class name of the driver eg. Postgres84 |
public getLastError ( ) : Error | ||
return | Error | string |