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

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

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

        foreach ($this->select as $column => $alias) {
            $statement .= $column;

            if ($alias) {
                $statement .= " AS " . $alias;
            }

            $statement .= ", ";
        }

        $statement = substr($statement, 0, -2);

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

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

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

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

        foreach ($this->select as $column => $alias) {
            $statement .= $column;

            if ($alias) {
                $statement .= " AS " . $alias;
            }

            $statement .= ", ";
        }

        $statement = substr($statement, 0, -2);

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

        return $statement;
    }
public function getSelectString ( $ includeText = true ) { $ statement = "" ; if ( ! $ this -> select ) { return $ statement ; } $ statement .= $ this -> getOptionsString ( true ) ; foreach ( $ this -> select as $ column => $ alias ) { $ statement .= $ column ; if ( $ alias ) { $ statement .= " AS " . $ alias ; } $ statement .= ", " ; } $ statement = substr ( $ statement , 0 , - 2 ) ; if ( $ includeText && $ statement ) { $ statement = "SELECT " . $ statement ; } return $ statement ; }
Get the SELECT portion of the statement as a string.

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