public function update(array $attributes) { $this->_query->type = QueryType::$UPDATE; $this->_query->updateAttributes = $attributes; return QueryExecutor::prepare($this->_db, $this->_query)->execute(); }