From a35d0bb921d7bcf51ea71a9f9ef9b43306389589 Mon Sep 17 00:00:00 2001 From: whwyy Date: Tue, 30 Jun 2026 23:15:59 +0800 Subject: [PATCH] eee --- SqlBuilder.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/SqlBuilder.php b/SqlBuilder.php index f31c6cc..747ef13 100644 --- a/SqlBuilder.php +++ b/SqlBuilder.php @@ -221,7 +221,7 @@ class SqlBuilder extends Component public function one(): string { $this->query->offset(0)->limit(1); - return join('', [$this->makeSelect($this->query), $this->make(), $this->makeLimit()]); + return join(' ', [$this->makeSelect($this->query), $this->make(), $this->makeLimit()]); } @@ -231,7 +231,7 @@ class SqlBuilder extends Component */ public function all(): string { - return join('', [$this->makeSelect($this->query), $this->make(), $this->makeLimit()]); + return join(' ', [$this->makeSelect($this->query), $this->make(), $this->makeLimit()]); }