src/Leevel/Database/Select.php
protected function queryDefault(array $data)
    {
        if (!$this->condition->getOption()['limitQuery']) {
            return reset($data) ?: [];
        }

        return $this->queryParams['as_collection'] ? new Collection($data) : $data;
    }
protected function queryDefault(array $data)
    {
        if (!$this->condition->getOption()['limitQuery']) {
            return reset($data) ?: [];
        }

        return $this->queryParams['as_collection'] ? new Collection($data) : $data;
    }
以默认返回结果.

@param array $data

@return mixed