We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ed0ddf3 commit 255b09fCopy full SHA for 255b09f
source/includes/fundamentals/code-snippets/srv.go
@@ -9,8 +9,8 @@ import (
9
"go.mongodb.org/mongo-driver/mongo/options"
10
)
11
12
-// Replace the placeholders with your credentials
13
-const uri = "mongodb+srv://<username>:<password>@cluster0.sample.mongodb.net/?retryWrites=true&w=majority"
+// Replace the placeholder with your Atlas connection string
+const uri = "<connection string>"
14
15
func main() {
16
0 commit comments