Constructor for OINOQueryAggregate.
aggregate function to use
fields to aggregate
Does filter contain any valid conditions.
field to check if it is aggregated
Does filter contain any valid conditions.
StaticparseConstructor for OINOQueryAggregate as parser of http parameter.
Supports comma separated list of aggregates formatted as:
function(field)Supported functions are count, sum, avg, min, max.
string representation of limit from HTTP-request
StaticprintPrint non-aggregated fields as SQL GROUP BY-condition based on the datamodel of the API.
data model (and database) to use for formatting of values
Optionalselect: OINOQuerySelectwhat fields to select
StaticprintPrint non-aggregated fields as SQL GROUP BY-condition based on the datamodel of the API.
aggregate instance
data model (and database) to use for formatting of values
Optionalselect: OINOQuerySelectwhat fields to select
Class for limiting the number of results.