eee
This commit is contained in:
+2
-2
@@ -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 join(' ', [$this->makeSelect($this->query), $this->make(), $this->makeLimit()]);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@@ -231,7 +231,7 @@ class SqlBuilder extends Component
|
|||||||
*/
|
*/
|
||||||
public function all(): string
|
public function all(): string
|
||||||
{
|
{
|
||||||
return join('', [$this->makeSelect($this->query), $this->make(), $this->makeLimit()]);
|
return join(' ', [$this->makeSelect($this->query), $this->make(), $this->makeLimit()]);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user