miralaur
Results
1
comments of
miralaur
something like this: class MultiTerms extends Aggregation { constructor(name) { super(name, 'multi_terms'); this._aggsDef.terms = []; } terms(terms) { this._aggsDef.terms = [...terms]; return this; } }