/** * * Performs a statement and returns the number of affected rows. * * @param string $statement The SQL statement to prepare and execute. * * @param array $values Values to bind to the query. * * @return array * */ public function fetchAffected($statement, array $values = array()) { $result = $this->pdo->fetchAffected($statement, $values); $this->logProfiles(__FUNCTION__); return $result; }