diff --git a/SqlBuilder.php b/SqlBuilder.php index 747ef13..8159b1b 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 $this->all(); }