Aggregate
- Full name:
\Qubus\Expressive\Aggregate
Methods
count
Return the aggregate count of column
Parameters:
| Parameter | Type | Description |
|---|---|---|
$column | string|null | - the column name |
max
Return the aggregate max count of column
Parameters:
| Parameter | Type | Description |
|---|---|---|
$column | string | - the column name |
min
Return the aggregate min count of column
Parameters:
| Parameter | Type | Description |
|---|---|---|
$column | string | - the column name |
sum
Return the aggregate sum count of column
Parameters:
| Parameter | Type | Description |
|---|---|---|
$column | string | - the column name |
avg
Return the aggregate average count of column
Parameters:
| Parameter | Type | Description |
|---|---|---|
$column | string | - the column name |
aggregate
Parameters:
| Parameter | Type | Description |
|---|---|---|
$fn | string | - The function to use for the aggregation |