system/classes/Db_MySQL.php
protected function calculateUPDATE()
    {
        $this->query .= 'UPDATE ';
        
        // Determine Table(s)
        $this->queryStringFromArray('tables', '', ', ');
        
        // SETs
        $this->queryStringFromArray('updates', ' SET ', ', ');
        
        // Where and IN
        $this->conditionStringFromArray('wheres', ' WHERE ', ' AND ');
        
        // OrderBy
        $this->queryStringFromArray('orderBys', ' ORDER BY ', ', ', false);
        
        // Limit
        if ($this->limit) {
            $this->query .= ' LIMIT '.$this->limit;
        }
        //echo $this->query.'<br><br>';
    }
protected function calculateUPDATE()
    {
        $this->query .= 'UPDATE ';
        
        // Determine Table(s)
        $this->queryStringFromArray('tables', '', ', ');
        
        // SETs
        $this->queryStringFromArray('updates', ' SET ', ', ');
        
        // Where and IN
        $this->conditionStringFromArray('wheres', ' WHERE ', ' AND ');
        
        // OrderBy
        $this->queryStringFromArray('orderBys', ' ORDER BY ', ', ', false);
        
        // Limit
        if ($this->limit) {
            $this->query .= ' LIMIT '.$this->limit;
        }
        //echo $this->query.'<br><br>';
    }
Create an UPDATE statement.