diff --git a/SqlBuilder.php b/SqlBuilder.php index d10f922..ad45c51 100644 --- a/SqlBuilder.php +++ b/SqlBuilder.php @@ -235,7 +235,7 @@ class SqlBuilder extends Component */ public function count(): string { - return $this->makeSelect(['COUNT(*)']) . $this->make(); + return $this->makeSelect() . $this->make(); }