src/Leevel/Database/Condition.php
public function all(): self
    {
        if ($this->checkFlowControl()) {
            return $this;
        }

        if ($this->options['limitQuery']) {
            return $this;
        }

        $this->options['limitCount'] = null;
        $this->options['limitOffset'] = null;
        $this->options['limitQuery'] = true;

        return $this;
    }
public function all(): self
    {
        if ($this->checkFlowControl()) {
            return $this;
        }

        if ($this->options['limitQuery']) {
            return $this;
        }

        $this->options['limitCount'] = null;
        $this->options['limitOffset'] = null;
        $this->options['limitQuery'] = true;

        return $this;
    }
指示查询所有符合条件的记录.

@return $this