From d2bd7488534e752fda915fc821ae42e11bb34d80 Mon Sep 17 00:00:00 2001 From: Lukas Rakauskas Date: Fri, 12 Jul 2024 08:48:36 +0300 Subject: [PATCH] Add trim to statement --- src/ClickHouseStatement.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ClickHouseStatement.php b/src/ClickHouseStatement.php index e10237f..69c9e4e 100644 --- a/src/ClickHouseStatement.php +++ b/src/ClickHouseStatement.php @@ -48,7 +48,7 @@ class ClickHouseStatement implements Statement public function __construct(Client $client, string $statement, AbstractPlatform $platform) { $this->client = $client; - $this->statement = $statement; + $this->statement = trim($statement); $this->platform = $platform; }