Return the actual current PDO connection instance
If connection is lost, this will restore it automatically.
Usage
// basic usage
$pDO = $database->pdo();
// usage with all arguments
$pDO = $database->pdo($type = null);
Arguments
Name | Type(s) | Description |
---|---|---|
type (optional) |
Return value
PDO
$database methods and properties
API reference based on ProcessWire core version 3.0.236