Class Connection
Represents a connection between PHP and a database server.
- Nette\Database\Connection uses Nette\SmartObject
public
|
|
public
|
|
public
|
|
public
|
|
public
string
|
|
public
|
|
public
|
|
public
string
|
|
public
string
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
[string,
|
|
public
|
|
public
mixed
|
|
public
array
|
|
public
array
|
|
public static
|
__call(),
__callStatic(),
__get(),
__isset(),
__set(),
__unset(),
extensionMethod(),
getReflection()
|
public
callable[]
|
$onConnect
function (Connection $connection); Occurs after connection is established |
|
public
callable[]
|
$onQuery
function (Connection $connection, ResultSet|DriverException $result); Occurs after query is executed |