mingo
Version:
MongoDB query language for in-memory objects
11 lines (10 loc) • 404 B
TypeScript
import { AccumulatorOperator } from "../../types";
/**
* Returns the bottom element within a group according to the specified sort order.
*
* @param {Any[]} collection The input array
* @param {AnyObject} expr The right-hand side expression value of the operator
* @param {Options} options The options to use for this operation
* @returns {*}
*/
export declare const $bottom: AccumulatorOperator;