src/Server/Asyn/Mysql/Miner.php
public function getUpdateString($includeText = true)
    {
        $statement = "";

        if (!$this->update) {
            return $statement;
        }

        if ($this->isInto) {
            $statement .= $this->getOptionsString(true) . 'INTO ';
        } else {
            $statement .= $this->getOptionsString(true);
        }
        $statement .= $this->getUpdate();

        // Add any JOINs.
        $statement .= " " . $this->getJoinString();

        $statement = rtrim($statement);

        if ($includeText && $statement) {
            $statement = "UPDATE " . $statement;
        }

        return $statement;
    }
public function getUpdateString($includeText = true)
    {
        $statement = "";

        if (!$this->update) {
            return $statement;
        }

        if ($this->isInto) {
            $statement .= $this->getOptionsString(true) . 'INTO ';
        } else {
            $statement .= $this->getOptionsString(true);
        }
        $statement .= $this->getUpdate();

        // Add any JOINs.
        $statement .= " " . $this->getJoinString();

        $statement = rtrim($statement);

        if ($includeText && $statement) {
            $statement = "UPDATE " . $statement;
        }

        return $statement;
    }
public function getUpdateString ( $ includeText = true ) { $ statement = "" ; if ( ! $ this -> update ) { return $ statement ; } if ( $ this -> isInto ) { $ statement .= $ this -> getOptionsString ( true ) . 'INTO ' ; } else { $ statement .= $ this -> getOptionsString ( true ) ; } $ statement .= $ this -> getUpdate ( ) ; // Add any JOINs. $ statement .= " " . $ this -> getJoinString ( ) ; $ statement = rtrim ( $ statement ) ; if ( $ includeText && $ statement ) { $ statement = "UPDATE " . $ statement ; } return $ statement ; }
Get the UPDATE portion of the statement as a string.

@param  bool $includeText optional include 'UPDATE' text, default true
@return string UPDATE portion of the statement
Get the UPDATE portion of the statement as a string .