src/Ouzo/Core/Db/ModelQueryBuilder.php
public function update(array $attributes)
    {
        $this->query->type = QueryType::$UPDATE;
        $this->query->updateAttributes = $attributes;
        return QueryExecutor::prepare($this->db, $this->query)->execute();
    }
public function update(array $attributes)
    {
        $this->query->type = QueryType::$UPDATE;
        $this->query->updateAttributes = $attributes;
        return QueryExecutor::prepare($this->db, $this->query)->execute();
    }
public function update ( array $ attributes ) { $ this -> query -> type = QueryType :: $ UPDATE ; $ this -> query -> updateAttributes = $ attributes ; return QueryExecutor :: prepare ( $ this -> db , $ this -> query ) -> execute ( ) ; }
Runs an update query against a set of models
@param array $attributes
@return int
Runs an update query against a set of models