Skip to content

Commit 4b452d3

Browse files
authored
Update 2023-10-23-inserting-documents-in-mongodb-in-java.md
1 parent 4795eed commit 4b452d3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎_posts/mongodb/mongodb-atlas/2023-10-23-inserting-documents-in-mongodb-in-java.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
layout: post
3-
title: "How Insert A Document in MongoDB Collection in Java Applications?"
3+
title: "How To Insert A Document in MongoDB Collection in Java Applications?"
44
author: gaurav
55
categories: [Java, MongoDB, MongoDB Atlas]
66
toc: true
@@ -9,7 +9,7 @@ description: "In this tutorial, we will see how to insert a document in MongoDB
99

1010
In this tutorial, we will see how to insert a document in MongoDB in Java applications.
1111

12-
To insert a document in MongoDB collection, first we should have a MongoClient. Let's see how to create one. Or You can read more at [How to Connect to a MongoDB Atlas Cluster in a Java Application](2023-10-19-connecting-to-mongodb-atlas-cluster-in-java-application)
12+
To insert a document in MongoDB collection, first we should have a MongoClient. Let's see how to create one. Or You can read more at [How to Connect to a MongoDB Atlas Cluster in a Java Application](/connecting-to-mongodb-atlas-cluster-in-java-application)
1313

1414
```java
1515
String connectionString = "mongodb+srv://user123:password123@cluster0.example.mongodb.net/?retryWrites=true&w=majority";

0 commit comments

Comments
 (0)