original_string: public function getUpdateQuery()
      {
          $sql = 'UPDATE ' . $this->getTable();
          $sql .= "\nSET " . $this->getSet();
          if ($this->where) {
              $sql .= "\nWHERE " . $this->getWhere();
          }
          if ($this->orderBy) {
              $sql .= "\nORDER BY " . $this->getOrderBy();
          }
          if ($this->limit) {
              $sql .= "\nLIMIT " . $this->getLimit();
          }
  
          return $sql;
      }
code: public function getUpdateQuery()
      {
          $sql = 'UPDATE ' . $this->getTable();
          $sql .= "\nSET " . $this->getSet();
          if ($this->where) {
              $sql .= "\nWHERE " . $this->getWhere();
          }
          if ($this->orderBy) {
              $sql .= "\nORDER BY " . $this->getOrderBy();
          }
          if ($this->limit) {
              $sql .= "\nLIMIT " . $this->getLimit();
          }
  
          return $sql;
      }
code_tokens: public function getUpdateQuery ( ) { $ sql = 'UPDATE ' . $ this -> getTable ( ) ; $ sql .= "\nSET " . $ this -> getSet ( ) ; if ( $ this -> where ) { $ sql .= "\nWHERE " . $ this -> getWhere ( ) ; } if ( $ this -> orderBy ) { $ sql .= "\nORDER BY " . $ this -> getOrderBy ( ) ; } if ( $ this -> limit ) { $ sql .= "\nLIMIT " . $ this -> getLimit ( ) ; } return $ sql ; }
docstring: Get SQL update query
  
  @return string
docstring_tokens: Get SQL update query