From 498446f26d15546bfa3c11c139593019da7fa641 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Mon, 11 Jan 2021 17:34:42 +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/Connection.php | 1 + Database/Traits/QueryTrait.php | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/Database/Connection.php b/Database/Connection.php index 70ef5ee3..bd2fd780 100644 --- a/Database/Connection.php +++ b/Database/Connection.php @@ -267,6 +267,7 @@ class Connection extends Component */ public function createCommand($sql = null, $attributes = []): Command { + var_dump($sql); $command = new Command(['db' => $this, 'sql' => $sql]); return $command->bindValues($attributes); } diff --git a/Database/Traits/QueryTrait.php b/Database/Traits/QueryTrait.php index 0f95599c..d5b03a4d 100644 --- a/Database/Traits/QueryTrait.php +++ b/Database/Traits/QueryTrait.php @@ -740,7 +740,6 @@ trait QueryTrait } $this->where[] = $conditions; } - var_dump($this->where); return $this; }