From 2e2c373e62bdb76c94230b30e1bf35ca51888e60 Mon Sep 17 00:00:00 2001 From: Sameera Medagammaddegedara Date: Thu, 6 Jan 2022 13:04:42 +0530 Subject: [PATCH 1/2] Update connections.md The link was pointing to an MongoDB Node 2.2 driver documentation. I have changed this to https://mongodb.github.io/node-mongodb-native/4.2/classes/MongoClient.html#connect --- docs/connections.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/connections.md b/docs/connections.md index a6d452f871a..55beab9b366 100644 --- a/docs/connections.md +++ b/docs/connections.md @@ -135,7 +135,7 @@ on to the underlying MongoDB driver. mongoose.connect(uri, options); ``` -A full list of options can be found on the [MongoDB Node.js driver docs for `connect()`](http://mongodb.github.io/node-mongodb-native/2.2/api/MongoClient.html#connect). +A full list of options can be found on the [MongoDB Node.js driver docs for `connect()`](https://mongodb.github.io/node-mongodb-native/4.2/classes/MongoClient.html#connect). Mongoose passes options to the driver without modification, modulo a few exceptions that are explained below. From ae3d86fa590057cc93e9ecb89f76b0878d4d91e0 Mon Sep 17 00:00:00 2001 From: Valeri Karpov Date: Sun, 9 Jan 2022 15:02:32 -0500 Subject: [PATCH 2/2] docs: correct link --- docs/connections.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/connections.md b/docs/connections.md index 55beab9b366..2e92bddb354 100644 --- a/docs/connections.md +++ b/docs/connections.md @@ -135,7 +135,7 @@ on to the underlying MongoDB driver. mongoose.connect(uri, options); ``` -A full list of options can be found on the [MongoDB Node.js driver docs for `connect()`](https://mongodb.github.io/node-mongodb-native/4.2/classes/MongoClient.html#connect). +A full list of options can be found on the [MongoDB Node.js driver docs for `MongoClientOptions`](https://mongodb.github.io/node-mongodb-native/4.2/interfaces/MongoClientOptions.html). Mongoose passes options to the driver without modification, modulo a few exceptions that are explained below.