Class Connection
Represents a connection between PHP and a database server.
- PDO
- Connection
public
|
#
__construct( $dsn, $username = NULL, $password = NULL, array $options = NULL, $driverClass = NULL )
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
integer
|
|
public
|
|
public
|
|
public
mixed
|
|
public
mixed
|
|
public
array
|
|
public
array
|
|
public
|
|
public
|
|
public
|
|
public
&
|
|
public
|
|
public
|
|
public
|
__sleep(),
__wakeup(),
beginTransaction(),
commit(),
errorCode(),
errorInfo(),
getAttribute(),
getAvailableDrivers(),
inTransaction(),
lastInsertId(),
prepare(),
quote(),
rollBack(),
setAttribute()
|
public
array
|
$onQuery |
|
#
of function(Statement $result, $params); Occurs after query is executed |
public
|
$databaseReflection | |
public read-only
|
$supplementalDriver | |
public read-only
string
|
$dsn |