This commit is contained in:
2024-04-26 15:23:37 +08:00
parent f9ee3aa014
commit 722b286f91
+1 -1
View File
@@ -235,7 +235,7 @@ class SqlBuilder extends Component
*/ */
public function count(): string public function count(): string
{ {
return $this->makeSelect() . $this->make(); return $this->makeSelect($this->query->select) . $this->make();
} }