bapig
Version:
Welcome to BAPIG, a powerful backend solution designed to streamline your development process. With over 40 built-in functionalities, BAPIG simplifies CRUD operations, facilitates authentication and encryption, handles communication tasks, and much more.
9 lines (8 loc) • 470 B
TypeScript
import { aggregate, controllerResponse, objectKey } from "../../types";
export declare const aggregationObjectKeys: objectKey[];
/**
* Perform an aggregation using the specified schema and aggregation pipeline.
* @param body Object containing the schema and aggregation pipeline
* @returns Controller response indicating success or failure and the result of the aggregation
*/
export declare function aggregate(body: aggregate): Promise<controllerResponse>;