Aggregate functions in the query builder APIs
The following methods on the DBFunction class support aggregate queries in the query builder APIs.
Method |
Description |
Example |
|---|---|---|
Avg |
Returns the average of all values in a column |
|
Count |
Returns the number of rows in a column |
|
Min |
Returns the minimum value of all values in a column |
|
Max |
Returns the maximum value of all values in a column |
|
Sum |
Returns the sum of all values in a column |
|
