Query\QueryBuilderInterface::selectAvg
Selects the average value of a field from a query
Signature
public function selectAvg(string
$field,
[boolean
$as = FALSE] )
Parameters
$field
— string$as
— boolean
Returns
- QueryBuilderInterface