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

        if (!$this->delete && !$this->isDeleteTableFrom()) {
            return $statement;
        }

        $statement .= $this->getOptionsString(true);

        if (is_array($this->delete)) {
            $statement .= implode(', ', $this->delete);
        }

        if ($includeText && ($statement || $this->isDeleteTableFrom())) {
            $statement = "DELETE " . $statement;

            // Trim in case the table is specified in FROM.
            $statement = trim($statement);
        }

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

        if (!$this->delete && !$this->isDeleteTableFrom()) {
            return $statement;
        }

        $statement .= $this->getOptionsString(true);

        if (is_array($this->delete)) {
            $statement .= implode(', ', $this->delete);
        }

        if ($includeText && ($statement || $this->isDeleteTableFrom())) {
            $statement = "DELETE " . $statement;

            // Trim in case the table is specified in FROM.
            $statement = trim($statement);
        }

        return $statement;
    }
public function getDeleteString ( $ includeText = true ) { $ statement = "" ; if ( ! $ this -> delete && ! $ this -> isDeleteTableFrom ( ) ) { return $ statement ; } $ statement .= $ this -> getOptionsString ( true ) ; if ( is_array ( $ this -> delete ) ) { $ statement .= implode ( ', ' , $ this -> delete ) ; } if ( $ includeText && ( $ statement || $ this -> isDeleteTableFrom ( ) ) ) { $ statement = "DELETE " . $ statement ; // Trim in case the table is specified in FROM. $ statement = trim ( $ statement ) ; } return $ statement ; }
Get the DELETE portion of the statement as a string.

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