Skip to content

Commit

Permalink
DOCSP-42303: Update username/password placeholders
Browse files Browse the repository at this point in the history
  • Loading branch information
mcmorisi committed Aug 13, 2024
1 parent 4ae1893 commit 91403aa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions source/swift.txt
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ Connect to MongoDB Atlas
}

// replace the following string with your connection uri
let uri = "mongodb+srv://<username>:<password>@<cluster-address>/test?w=majority"
let uri = "mongodb+srv://<db_username>:<db_password>@<cluster-address>/test?w=majority"
let client = try MongoClient(uri)

// print a list of database names
Expand All @@ -85,7 +85,7 @@ Connect to MongoDB Atlas
let elg = MultiThreadedEventLoopGroup(numberOfThreads: 4)

// replace the following string with your connection uri
let uri = "mongodb+srv://<username>:<password>@<cluster-address>/test?w=majority"
let uri = "mongodb+srv://<db_username>:<db_password>@<cluster-address>/test?w=majority"

let client = try MongoClient(
uri,
Expand Down

0 comments on commit 91403aa

Please sign in to comment.