async databaseConnection() { const options: Partial<ConnectOptions> = { autoIndex: false, retryWrites: true, dbName: "YOUR_DB_NAME", connectTimeoutMS: 12000, } await mongoose .connect(Deno.env.get("MONGODB_URL") || "", options as ConnectOptions) .then(() => console.log("Database Connected... ๐โกโ ")) }