/** * Executes a prepared statement. Returns a boolean value indicating success. * * Overridden for query counting and logging. * * @return bool */ public function execute($input_parameters = null) { $debug = $this->pdo->getDebugSnapshot(); $return = parent::execute($input_parameters); $this->pdo->incrementQueryCount(); $this->pdo->log($this->getExecutedQueryString(), null, __METHOD__, $debug); return $return; }
/** * Overridden for query counting. * @return int */ public function execute($input_parameters = null) { $this->pdo->incrementQueryCount(); return parent::execute($input_parameters); }