src/Server/Asyn/Mysql/Miner.php
public function getStatement($usePlaceholders = true)
    {
        $statement = "";
        if ($this->isSelect()) {
            $statement = $this->getSelectStatement($usePlaceholders);
        } elseif ($this->isInsert()) {
            $statement = $this->getInsertStatement($usePlaceholders);
        } elseif ($this->isReplace()) {
            $statement = $this->getReplaceStatement($usePlaceholders);
        } elseif ($this->isUpdate()) {
            $statement = $this->getUpdateStatement($usePlaceholders);
        } elseif ($this->isDelete()) {
            $statement = $this->getDeleteStatement($usePlaceholders);
        }
        return $statement;
    }
public function getStatement($usePlaceholders = true)
    {
        $statement = "";
        if ($this->isSelect()) {
            $statement = $this->getSelectStatement($usePlaceholders);
        } elseif ($this->isInsert()) {
            $statement = $this->getInsertStatement($usePlaceholders);
        } elseif ($this->isReplace()) {
            $statement = $this->getReplaceStatement($usePlaceholders);
        } elseif ($this->isUpdate()) {
            $statement = $this->getUpdateStatement($usePlaceholders);
        } elseif ($this->isDelete()) {
            $statement = $this->getDeleteStatement($usePlaceholders);
        }
        return $statement;
    }
public function getStatement ( $ usePlaceholders = true ) { $ statement = "" ; if ( $ this -> isSelect ( ) ) { $ statement = $ this -> getSelectStatement ( $ usePlaceholders ) ; } elseif ( $ this -> isInsert ( ) ) { $ statement = $ this -> getInsertStatement ( $ usePlaceholders ) ; } elseif ( $ this -> isReplace ( ) ) { $ statement = $ this -> getReplaceStatement ( $ usePlaceholders ) ; } elseif ( $ this -> isUpdate ( ) ) { $ statement = $ this -> getUpdateStatement ( $ usePlaceholders ) ; } elseif ( $ this -> isDelete ( ) ) { $ statement = $ this -> getDeleteStatement ( $ usePlaceholders ) ; } return $ statement ; }
Get the full SQL statement.

@param  bool $usePlaceholders optional use ? placeholders, default true
@return string full SQL statement
Get the full SQL statement .