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 ff12786 commit 36f22d1Copy full SHA for 36f22d1
docs/reference/content/driver/reference/crud/index.md
@@ -40,7 +40,7 @@ collection.insertOne(document);
40
document.append("x", 2).append("y", 3);
41
42
// replace a document
43
-collection.replaceOne(Filters.eq("_id", document.get("_id"), document);
+collection.replaceOne(Filters.eq("_id", document.get("_id")), document);
44
45
// find documents
46
List<Document> foundDocument = collection.find().into(new ArrayList<Document>());
0 commit comments