File tree 10 files changed +30
-0
lines changed
10 files changed +30
-0
lines changed Original file line number Diff line number Diff line change @@ -10,6 +10,9 @@ async function main() {
10
10
/**
11
11
* The Mongo Client you will use to interact with your database
12
12
* See https://mongodb.github.io/node-mongodb-native/3.6/api/MongoClient.html for more details
13
+ * In case: '[MONGODB DRIVER] Warning: Current Server Discovery and Monitoring engine is deprecated...'
14
+ * pass option { useUnifiedTopology: true } to the MongoClient constructor.
15
+ * const client = new MongoClient(uri, {useUnifiedTopology: true})
13
16
*/
14
17
const client = new MongoClient ( uri ) ;
15
18
Original file line number Diff line number Diff line change @@ -11,6 +11,9 @@ async function main() {
11
11
/**
12
12
* The Mongo Client you will use to interact with your database
13
13
* See https://mongodb.github.io/node-mongodb-native/3.6/api/MongoClient.html for more details
14
+ * In case: '[MONGODB DRIVER] Warning: Current Server Discovery and Monitoring engine is deprecated...'
15
+ * pass option { useUnifiedTopology: true } to the MongoClient constructor.
16
+ * const client = new MongoClient(uri, {useUnifiedTopology: true})
14
17
*/
15
18
const client = new MongoClient ( uri ) ;
16
19
Original file line number Diff line number Diff line change @@ -14,6 +14,9 @@ async function main() {
14
14
/**
15
15
* The Mongo Client you will use to interact with your database
16
16
* See https://mongodb.github.io/node-mongodb-native/3.6/api/MongoClient.html for more details
17
+ * In case: '[MONGODB DRIVER] Warning: Current Server Discovery and Monitoring engine is deprecated...'
18
+ * pass option { useUnifiedTopology: true } to the MongoClient constructor.
19
+ * const client = new MongoClient(uri, {useUnifiedTopology: true})
17
20
*/
18
21
const client = new MongoClient ( uri ) ;
19
22
Original file line number Diff line number Diff line change @@ -10,6 +10,9 @@ async function main() {
10
10
/**
11
11
* The Mongo Client you will use to interact with your database
12
12
* See https://mongodb.github.io/node-mongodb-native/3.6/api/MongoClient.html for more details
13
+ * In case: '[MONGODB DRIVER] Warning: Current Server Discovery and Monitoring engine is deprecated...'
14
+ * pass option { useUnifiedTopology: true } to the MongoClient constructor.
15
+ * const client = new MongoClient(uri, {useUnifiedTopology: true})
13
16
*/
14
17
const client = new MongoClient ( uri ) ;
15
18
Original file line number Diff line number Diff line change @@ -10,6 +10,9 @@ async function main(){
10
10
/**
11
11
* The Mongo Client you will use to interact with your database
12
12
* See https://mongodb.github.io/node-mongodb-native/3.6/api/MongoClient.html for more details
13
+ * In case: '[MONGODB DRIVER] Warning: Current Server Discovery and Monitoring engine is deprecated...'
14
+ * pass option { useUnifiedTopology: true } to the MongoClient constructor.
15
+ * const client = new MongoClient(uri, {useUnifiedTopology: true})
13
16
*/
14
17
const client = new MongoClient ( uri ) ;
15
18
Original file line number Diff line number Diff line change @@ -10,6 +10,9 @@ async function main() {
10
10
/**
11
11
* The Mongo Client you will use to interact with your database
12
12
* See https://mongodb.github.io/node-mongodb-native/3.6/api/MongoClient.html for more details
13
+ * In case: '[MONGODB DRIVER] Warning: Current Server Discovery and Monitoring engine is deprecated...'
14
+ * pass option { useUnifiedTopology: true } to the MongoClient constructor.
15
+ * const client = new MongoClient(uri, {useUnifiedTopology: true})
13
16
*/
14
17
const client = new MongoClient ( uri ) ;
15
18
Original file line number Diff line number Diff line change @@ -10,6 +10,9 @@ async function main() {
10
10
/**
11
11
* The Mongo Client you will use to interact with your database
12
12
* See https://mongodb.github.io/node-mongodb-native/3.6/api/MongoClient.html for more details
13
+ * In case: '[MONGODB DRIVER] Warning: Current Server Discovery and Monitoring engine is deprecated...'
14
+ * pass option { useUnifiedTopology: true } to the MongoClient constructor.
15
+ * const client = new MongoClient(uri, {useUnifiedTopology: true})
13
16
*/
14
17
const client = new MongoClient ( uri ) ;
15
18
Original file line number Diff line number Diff line change @@ -14,6 +14,9 @@ async function main() {
14
14
/**
15
15
* The Mongo Client you will use to interact with your database
16
16
* See https://mongodb.github.io/node-mongodb-native/3.6/api/MongoClient.html for more details
17
+ * In case: '[MONGODB DRIVER] Warning: Current Server Discovery and Monitoring engine is deprecated...'
18
+ * pass option { useUnifiedTopology: true } to the MongoClient constructor.
19
+ * const client = new MongoClient(uri, {useUnifiedTopology: true})
17
20
*/
18
21
const client = new MongoClient ( uri ) ;
19
22
Original file line number Diff line number Diff line change @@ -10,6 +10,9 @@ async function main() {
10
10
/**
11
11
* The Mongo Client you will use to interact with your database
12
12
* See https://mongodb.github.io/node-mongodb-native/3.6/api/MongoClient.html for more details
13
+ * In case: '[MONGODB DRIVER] Warning: Current Server Discovery and Monitoring engine is deprecated...'
14
+ * pass option { useUnifiedTopology: true } to the MongoClient constructor.
15
+ * const client = new MongoClient(uri, {useUnifiedTopology: true})
13
16
*/
14
17
const client = new MongoClient ( uri ) ;
15
18
Original file line number Diff line number Diff line change @@ -20,6 +20,9 @@ async function main() {
20
20
/**
21
21
* The Mongo Client you will use to interact with your database
22
22
* See https://mongodb.github.io/node-mongodb-native/3.6/api/MongoClient.html for more details
23
+ * In case: '[MONGODB DRIVER] Warning: Current Server Discovery and Monitoring engine is deprecated...'
24
+ * pass option { useUnifiedTopology: true } to the MongoClient constructor.
25
+ * const client = new MongoClient(uri, {useUnifiedTopology: true})
23
26
*/
24
27
const client = new MongoClient ( uri ) ;
25
28
You can’t perform that action at this time.
0 commit comments