// Let others do something with this query
Events::
trigger('DBQuery',
$query);
if ($this->db->
isWriteType($query)) { return true;
} // Return a result object
$resultClass =
str_replace('PreparedQuery', 'Result',
static::
class);
$resultID =
$this->
_getResult();
return new $resultClass($this->db->connID,
$resultID);
} /**
* The database dependant version of the execute method.
*/
abstract public function _execute(array
$data): bool;
/**
* Returns the result object for the prepared query.
*
* @return object|resource|null
*/