$query->group()
Attaches a group by clause
Parameters
Name | Type | Default |
---|---|---|
$group | string |
null |
Return type
This method does not modify the existing $query
object but returns a new object with the changes applied. Learn more →