Skip to content

Kirby 3.9.8

$query->aggregate()

Builds an aggregation query.

$query->aggregate(string $method, string $column = '*', int $default = 0)

Parameters

Name Type Default Description
$method * string
$column string '*'
$default int 0 An optional default value, which should be returned if the query fails

Parent class

Kirby\Database\Query