WireDatabaseBackup::getDatabase() method

Get current database connection, initiating the connection if not yet active

Usage

$pDO = $backup->getDatabase();

Return value

PDO

Exceptions

Method can throw exceptions on error:

  • \Exception


$backup methods and properties

API reference based on ProcessWire core version 3.0.253