Skip to content

Kirby 4.5.0

$query->avg()

Builds an average query

$query->avg(string $column): float

Parameters

Name Type Default
$column * string

Return type

float

Parent class

Kirby\Database\Query