Execute the query with the current database handle
Usage
// basic usage
$pDOStatement = $databaseQuery->execute();
// usage with all arguments
$pDOStatement = $databaseQuery->execute(array $options = []);
Arguments
Name | Type(s) | Description |
---|---|---|
options (optional) | array |
|
Return value
PDOStatement
bool
Exceptions
Method can throw exceptions on error:
WireDatabaseQueryException
or\PDOException
DatabaseQuery methods and properties
API reference based on ProcessWire core version 3.0.236