$query->aggregate()
Builds an aggregation query.
Parameters
Name | Type | Default | Description |
---|---|---|---|
$method * | string |
– | |
$column | string |
'*' |
|
$default | int |
0 |
An optional default value, which should be returned if the query fails |