public function setSql()
    {
        $this->args[] = $this->updateOnColumnValue;
        $lastArgNum = count($this->args);
        $this->sql = "UPDATE $this->dbTable SET $this->setColumnsValues WHERE $this->updateOnColumnName = $".$lastArgNum;
    }
public function setSql()
    {
        $this->args[] = $this->updateOnColumnValue;
        $lastArgNum = count($this->args);
        $this->sql = "UPDATE $this->dbTable SET $this->setColumnsValues WHERE $this->updateOnColumnName = $".$lastArgNum;
    }
public function setSql ( ) { $ this -> args [ ] = $ this -> updateOnColumnValue ; $ lastArgNum = count ( $ this -> args ) ; $ this -> sql = "UPDATE $this->dbTable SET $this->setColumnsValues WHERE $this->updateOnColumnName = $" . $ lastArgNum ; }
sets update query
sets update query