mingo
Version:
MongoDB query language for in-memory objects
18 lines (17 loc) • 698 B
TypeScript
import { Options } from "../core";
import { AnyObject } from "../types";
import { AggregatorImpl } from "./_internal";
/**
* The `Aggregator` class provides functionality to process data collections
* through an aggregation pipeline. It supports streaming and executing
* aggregation operations with customizable options.
*/
export declare class Aggregator extends AggregatorImpl {
/**
* Creates an instance of the Aggregator class.
*
* @param pipeline - An array of objects representing the aggregation pipeline stages.
* @param options - Optional configuration settings for the aggregator.
*/
constructor(pipeline: AnyObject[], options?: Partial<Options>);
}