This commit is contained in:
2023-12-13 17:08:31 +08:00
parent f614795f95
commit 1092273257
+1 -1
View File
@@ -235,7 +235,7 @@ class SqlBuilder extends Component
*/
public function count(): string
{
return $this->_selectPrefix(['COUNT(*)']) . $this->make();
return $this->makeSelect(['COUNT(*)']) . $this->make();
}