From 5599519f0fb67944316b7b16abc94afd50ec0805 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..32a4cc0 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); + print($query); + if ($result !== true) { return new ResultSet($result); } @@ -79,6 +81,8 @@ class Connection implements IConnection { $stmt = $this->connection->prepare($query); + print($query); + return new Statement($stmt); }