OINO TS
    Preparing search index...

    Class OINOQueryAggregate

    Class for limiting the number of results.

    Index

    Constructors

    Properties

    Methods

    Constructors

    Properties

    fields: string[]

    Methods

    • Does filter contain any valid conditions.

      Parameters

      • field: string

        field to check if it is aggregated

      Returns boolean

    • Constructor 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.

      Parameters

      • aggregatorString: string

        string representation of limit from HTTP-request

      Returns OINOQueryAggregate