diff --git a/SqlBuilder.php b/SqlBuilder.php index 294333f..57c98d6 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(['0']) . $this->make(); }