mingo
Version:
MongoDB query language for in-memory objects
11 lines (10 loc) • 298 B
TypeScript
import { Any, AnyObject, Options } from "../../types";
interface InputExpr {
n: Any;
input: Any;
}
/**
* Returns an aggregation of the maxmimum value n elements within a group.
*/
export declare const $maxN: (coll: AnyObject[], expr: InputExpr, options: Options) => unknown[];
export {};