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;