src/Service/DB/Select.php
public function get($limit = null)
    {
        if ($limit !== null) {
            $this->limit($limit);
        }

        $sth = $this->execute();
        $processor = $this->processor;

        $records = [];
        while ($record = $sth->getRow()) {
            $records[] = $processor
                       ? call_user_func($processor, $record)
                       : $record;
        }

        return $records;
    }
public function get($limit = null)
    {
        if ($limit !== null) {
            $this->limit($limit);
        }

        $sth = $this->execute();
        $processor = $this->processor;

        $records = [];
        while ($record = $sth->getRow()) {
            $records[] = $processor
                       ? call_user_func($processor, $record)
                       : $record;
        }

        return $records;
    }
获得所有的查询结果.

@param int [$limit]

@return array