UNPKG

desi-mongoose

Version:

A fun and intuitive MongoDB ODM for Node.js with a Hinglish twist

21 lines (20 loc) 807 B
export declare class DesiQuery { private query; private options; jahaPe(field: string, value: any): this; badalKe(field: string, value: any): this; baraabarNahi(field: string, value: any): this; zyada(field: string, value: number): this; kam(field: string, value: number): this; zyadaYaBarabar(field: string, value: number): this; kamYaBarabar(field: string, value: number): this; inMeinHai(field: string, values: any[]): this; inMeinNahiHai(field: string, values: any[]): this; exists(field: string, exists?: boolean): this; sortKaro(field: string, order?: 'asc' | 'desc'): this; limitKaro(limit: number): this; skipKaro(skip: number): this; pageMeinDikhao(page: number, perPage?: number): this; getQuery(): any; getOptions(): any; }