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;
    }
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;
    }
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 ; }
Get SQL update query

@return string
Get SQL update query