@topgroup/diginext
Version:
A BUILD SERVER & CLI to deploy apps to any Kubernetes clusters.
28 lines • 808 B
TypeScript
export declare function isObjectId(id: any): boolean;
export declare function isValidObjectId(id: any): boolean;
export declare function toObjectId(id: any): any;
declare function toString(id: any): string;
export interface MongooseFindOptions {
/**
* Simple condition that should be applied to match entities.
*/
where?: {
[key: string]: any;
};
/**
* Offset (paginated) where from entities should be taken.
*/
skip?: number;
/**
* Limit (paginated) - max number of entities should be taken.
*/
take?: number;
}
export declare const MongoDB: {
toString: typeof toString;
isObjectId: typeof isObjectId;
isValidObjectId: typeof isValidObjectId;
toObjectId: typeof toObjectId;
};
export {};
//# sourceMappingURL=mongodb.d.ts.map