flexmonster-mongo-connector
Version:
MongoDB connector for Flexmonster Pivot Table and Charts
24 lines • 673 B
JavaScript
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.SupportedAggregations = void 0;
class SupportedAggregations {
}
exports.SupportedAggregations = SupportedAggregations;
SupportedAggregations.numericFieldAggregations = {
"sum": "$sum",
"average": "$avg",
"count": "$sum",
"min": "$min",
"max": "$max",
"stdevs": "$stdDevSamp",
"stdevp": "$stdDevPop"
};
SupportedAggregations.dateFieldAggregations = {
"count": "$sum",
"min": "$min",
"max": "$max"
};
SupportedAggregations.nonNumericFieldAggregations = {
"count": "$sum"
};
//# sourceMappingURL=SupportedAggregations.js.map