code: 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>';
      }
docs: Create an UPDATE statement.