desi-mongoose
Version:
A fun and intuitive MongoDB ODM for Node.js with a Hinglish twist
15 lines (14 loc) • 457 B
TypeScript
export declare class DesiAggregation {
private pipeline;
milao(lookupConfig: any): this;
chuno(fields: string[]): this;
samooh(groupConfig: any): this;
khaaliChodo(skipCount: number): this;
sirafDikhao(limitCount: number): this;
kramBadlo(sortConfig: any): this;
milaKarGino(field: string): this;
unwind(field: string): this;
match(condition: any): this;
addFields(fields: any): this;
getPipeline(): any[];
}