From 146edfee2fafc63f5210fe37d196ae91dd63e831 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Thu, 20 May 2021 15:53:28 +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 + 1 file changed, 1 insertion(+) diff --git a/Database/ActiveQuery.php b/Database/ActiveQuery.php index 689ba0f1..bfe54587 100644 --- a/Database/ActiveQuery.php +++ b/Database/ActiveQuery.php @@ -307,6 +307,7 @@ class ActiveQuery extends Component implements ISqlBuilder */ public function exists(): bool { + var_dump($this->execute($this->builder->one())->fetchColumn()); return $this->execute($this->builder->one())->fetchColumn() !== false; }