AggregateTrack

AggregateTrack

Accumulator methods for the various aggregate functions.

Constructor

new AggregateTrack()

Source:

Methods

addGroupConcatItem(columnData) → {void}

Source:
Parameters:
Name Type Description
columnData any
Returns:
Type
void

count(columnData) → {Number}

Source:
Parameters:
Name Type Description
columnData any
Returns:
Type
Number

getAverage() → {Number}

Source:
Returns:
Type
Number

getGroupConcat() → {String}

Description:
  • All data from column returned as single string with items separated by comma.

Source:
Returns:
Type
String

maxCase(numericData) → {Number}

Source:
Parameters:
Name Type Description
numericData Number
Returns:
Type
Number

minCase(numericData) → {Number}

Source:
Parameters:
Name Type Description
numericData Number
Returns:
Type
Number

sum(numericData) → {Number}

Source:
Parameters:
Name Type Description
numericData Number
Returns:
Type
Number