outers
Version:
outers - a all in one package for your day to day use
8 lines (7 loc) • 406 B
TypeScript
/**
* 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>;