UNPKG

mongosuper

Version:

mongosuper is a superset of mongoose. It is a wrapper around mongoose. It manage your mongoose connection and keep it alive always. It also provide you some extra features like CRUD operations, etc.

8 lines 448 B
/** * This is an asynchronous function that connects to a MongoDB database using a provided URL. * @param MongoURL - The MongoDB connection string that specifies the location of the MongoDB server * and the name of the database to connect to. It typically looks like this: * mongodb://<username>:<password>@<host>:<port>/<database>. */ export default function connectDB(MongoURL: any): Promise<void>; //# sourceMappingURL=ConnectMongo.d.ts.map