From d07821dfe6a06c7c53ea1151911ca7fc46ed5cdc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C5=91cze=20Bence?= Date: Mon, 1 May 2023 15:26:21 +0200 Subject: [PATCH] [debug] --- src/Database/Mysql/Connection.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/Database/Mysql/Connection.php b/src/Database/Mysql/Connection.php index ed2b967..f4b3f9d 100644 --- a/src/Database/Mysql/Connection.php +++ b/src/Database/Mysql/Connection.php @@ -50,6 +50,8 @@ class Connection implements IConnection { $result = $this->connection->query($query); + var_dump($query); + if ($result !== true) { return new ResultSet($result); } @@ -79,6 +81,8 @@ class Connection implements IConnection { $stmt = $this->connection->prepare($query); + var_dump($query); + return new Statement($stmt); }