$query->sum()
Builds a sum query
$query->sum(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.