This commit is contained in:
2026-06-30 23:16:18 +08:00
parent a35d0bb921
commit 2970c3bc6b
+1 -1
View File
@@ -221,7 +221,7 @@ class SqlBuilder extends Component
public function one(): string public function one(): string
{ {
$this->query->offset(0)->limit(1); $this->query->offset(0)->limit(1);
return join(' ', [$this->makeSelect($this->query), $this->make(), $this->makeLimit()]); return $this->all();
} }