$query->avg()
Builds an average query
$query->avg(string $column): float
Parameters
Name | Type | Default |
---|---|---|
$columnrequired | string |
no default value |
Return type
float
This method modifies the existing $query
object it is applied to and returns it again.