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

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

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

        $statement .= $this->getReplace();

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

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

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

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

        $statement .= $this->getReplace();

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

        return $statement;
    }
public function getReplaceString ( $ includeText = true ) { $ statement = "" ; if ( ! $ this -> replace ) { return $ statement ; } if ( $ this -> isInto ) { $ statement .= $ this -> getOptionsString ( true ) . 'INTO ' ; } else { $ statement .= $ this -> getOptionsString ( true ) ; } $ statement .= $ this -> getReplace ( ) ; if ( $ includeText && $ statement ) { $ statement = "REPLACE " . $ statement ; } return $ statement ; }
Get the REPLACE portion of the statement as a string.

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