aggregation() {
    if (this.hasOptions()) {
      return new Aggregation(this[1], this._index, this._query);
    } else {
      return this;
    }
  }
/**
   * Returns the aggregation without "aggregation-options" clause, if any
   */
Returns the aggregation without "aggregation-options" clause, if any
Returns the aggregation without " aggregation - options " clause if any
aggregation() {
    if (this.hasOptions()) {
      return new Aggregation(this[1], this._index, this._query);
    } else {
      return this;
    }
  }
aggregation ( ) { if ( this . hasOptions ( ) ) { return new Aggregation ( this [ 1 ] , this . _index , this . _query ) ; } else { return this ; } }
Returns the aggregation without "aggregation-options" clause, if any
Returns the aggregation without " aggregation - options " clause if any