Skip to content

Kirby 4.4.1

$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