From e0993f4f64531c629895519502edf03aa9125d8d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Thu, 4 Mar 2021 15:20:41 +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 | 1 + Database/ActiveRecord.php | 5 ----- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/Database/ActiveQuery.php b/Database/ActiveQuery.php index 0bd23187..28de1095 100644 --- a/Database/ActiveQuery.php +++ b/Database/ActiveQuery.php @@ -235,6 +235,7 @@ class ActiveQuery extends Component implements ISqlBuilder if (empty($this->with) || !is_array($this->with)) { return $model; } + var_dump($this->with); return $model->setWith($this->with); } diff --git a/Database/ActiveRecord.php b/Database/ActiveRecord.php index 49cecfbc..58a12e6f 100644 --- a/Database/ActiveRecord.php +++ b/Database/ActiveRecord.php @@ -296,15 +296,10 @@ class ActiveRecord extends BaseActiveRecord private function runRelate(): array { $relates = []; - - var_dump($this->_with); if (empty($this->_with)) { return $relates; } foreach ($this->_with as $val) { - - var_dump($val); - $relates[$val] = $this->resolveObject($val); } return $relates;