Skip to content

Kirby 3.9.1

$query->group()

Attaches a group by clause

$query->group(string $group = null): Kirby\Database\Query

Parameters

Name Type Default
$group string null

Return type

Kirby\Database\Query

This method does not modify the existing $query object but returns a new object with the changes applied. Learn more →

Parent class

Kirby\Database\Query