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

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

        $statement .= $this->limit['limit'];

        if ($this->limit['offset'] !== 0) {
            $statement .= " OFFSET " . $this->limit['offset'];
        }

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

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

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

        $statement .= $this->limit['limit'];

        if ($this->limit['offset'] !== 0) {
            $statement .= " OFFSET " . $this->limit['offset'];
        }

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

        return $statement;
    }
public function getLimitString ( $ includeText = true ) { $ statement = "" ; if ( ! $ this -> limit ) { return $ statement ; } $ statement .= $ this -> limit [ 'limit' ] ; if ( $ this -> limit [ 'offset' ] !== 0 ) { $ statement .= " OFFSET " . $ this -> limit [ 'offset' ] ; } if ( $ includeText && $ statement ) { $ statement = "LIMIT " . $ statement ; } return $ statement ; }
Get the LIMIT portion of the statement as a string.

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