Class OINODbSqlAggregate

Class for limiting the number of results.

Constructors

Methods

  • Print non-aggregated fields as SQL GROUP BY-condition based on the datamodel of the API.

    Parameters

    Returns string

  • Print non-aggregated fields as SQL GROUP BY-condition based on the datamodel of the API.

    Parameters

    Returns string

  • Constructor for OINODbSqlAggregate as parser of http parameter.

    Supports comma separated list of aggregates formatted as:

    • function(field)

    Supported functions are count, sum, avg, min, max.

    Parameters

    • aggregatorString: string

      string representation of limit from HTTP-request

    Returns OINODbSqlAggregate