Progress will discontinue Telerik Platform on May 10th, 2018. Learn more

AggregateQuery [class]

Description

A query class used to describe a aggregation request that will be made to the Telerik Backend Services JavaScript API. Inherits from Query.

Members

Instance members

Name Return type Description
avg(field, [resultFieldName]) AggregateQuery Adds aggregation function 'avg' (average) to the current query. Could set [resultFieldName]
count(field, [resultFieldName]) AggregateQuery Adds aggregation function 'count' to the current query. Could set [resultFieldName]
groupBy(field, array) AggregateQuery Applies a groupBy to the current query. This allows you to group results by
max(field, [resultFieldName]) AggregateQuery Adds aggregation function 'max' to the current query. Could set [resultFieldName]
min(field, [resultFieldName]) AggregateQuery Adds aggregation function 'min' to the current query. Could set [resultFieldName]
sum(field, [resultFieldName]) AggregateQuery Adds aggregation function 'sum' to the current query. Could set [resultFieldName]
Contact us: +1-888-365-2779
sales@telerik.com
Copyright © 2016-2017, Progress Software Corporation and/or its subsidiaries or affiliates. All rights reserved.