From f0be7f0c3a1c3d9d9c362a11271fd3ee17a75986 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Fri, 5 Mar 2021 18:21:48 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=B9=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Database/ActiveQuery.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Database/ActiveQuery.php b/Database/ActiveQuery.php index 0bd23187..58ce2183 100644 --- a/Database/ActiveQuery.php +++ b/Database/ActiveQuery.php @@ -207,6 +207,9 @@ class ActiveQuery extends Component implements ISqlBuilder public function all(): Collection|array { $data = $this->execute($this->builder->all())->all(); + + var_dump($data); + $collect = new Collection($this, $data, $this->modelClass); if ($this->asArray) { return $collect->toArray();