Skip to content

Commit 9e3b03f

Browse files
committed
correctly use group in select query
1 parent 61572f0 commit 9e3b03f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/Query/SelectQuery.php

+4
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,10 @@ public function __construct($where = null, $order = null, $fields = null, $limit
4141
if ($limit) {
4242
$this->limit($limit);
4343
}
44+
45+
if ($group) {
46+
$this->groupBy($group);
47+
}
4448
}
4549

4650
/**

0 commit comments

Comments
 (0)