UNPKG

ravendb

Version:
21 lines 727 B
import { AggregationQueryBase } from "./AggregationQueryBase.js"; import { throwError } from "../../../Exceptions/index.js"; export class AggregationRawDocumentQuery extends AggregationQueryBase { _source; constructor(source, session) { super(session); this._source = source; if (!source) { throwError("InvalidArgumentException", "Source cannot be null"); } } _getIndexQuery(updateAfterQueryExecuted) { return this._source.getIndexQuery(); } emit(eventName, queryResult) { if (eventName === "afterQueryExecuted") { this._source.emit(eventName, queryResult); } } } //# sourceMappingURL=AggregationRawDocumentQuery.js.map