var chartData = _DataManager.executeLocal(new ej.data.Query()
.where('group.dnis.length', 'equal', 12)
.select(['group.DNIS_Campaign', 'flattenedMetrics.nOffered_count', 'flattenedMetrics.tIvr_count', 'flattenedMetrics.tAnswered_count'])
.sortBy('group.DNIS_Campaign')
);
is there a way to map or alias a field to a new name?
Something akin to
.select(['group.DNIS_Campaign as DNIS_Campaign', 'flattenedMetrics.nOffered_count as nOffered_count', 'flattenedMetrics.tIvr_count as tIvr_count', 'flattenedMetrics.tAnswered_count as tAnswered_count'])