File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -66,7 +66,7 @@ Connect to MongoDB Atlas
66
66
}
67
67
68
68
// replace the following string with your connection uri
69
- let uri = "mongodb+srv://<username >:<password >@<cluster-address>/test?w=majority"
69
+ let uri = "mongodb+srv://<db_username >:<db_password >@<cluster-address>/test?w=majority"
70
70
let client = try MongoClient(uri)
71
71
72
72
// print a list of database names
@@ -85,7 +85,7 @@ Connect to MongoDB Atlas
85
85
let elg = MultiThreadedEventLoopGroup(numberOfThreads: 4)
86
86
87
87
// replace the following string with your connection uri
88
- let uri = "mongodb+srv://<username >:<password >@<cluster-address>/test?w=majority"
88
+ let uri = "mongodb+srv://<db_username >:<db_password >@<cluster-address>/test?w=majority"
89
89
90
90
let client = try MongoClient(
91
91
uri,
You can’t perform that action at this time.
0 commit comments