Skip to content

Commit 9ed2b7b

Browse files
author
Chris Cho
authored
DOCSP-33759: remove callout about replace efficiency (#1247)
1 parent 3cf97d1 commit 9ed2b7b

File tree

2 files changed

+2
-16
lines changed
  • 4.11
    • driver-reactive/tutorials/perform-write-operations
    • driver-scala/tutorials/perform-write-operations

2 files changed

+2
-16
lines changed

4.11/driver-reactive/tutorials/perform-write-operations/index.html

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<meta name="description" content="MongoDB Java Driver documentation">
66
<meta name="author" content="MongoDB Drivers Team">
77
<meta name="keyword" content="MongoDB, Java, JVM, NoSQL, Document Database">
8-
<meta name="date" content="2023-10-10T21:33:20.99">
8+
<meta name="date" content="2023-11-06T18:17:14.59">
99
<link rel="shortcut icon" href="/mongo-java-driver/4.11/img/favicon.png">
1010

1111
<title>Write Operations</title><link rel="stylesheet" href="/mongo-java-driver/4.11/lib/bootstrap.css" type="text/css" />
@@ -486,13 +486,6 @@ <h3 id="update-a-single-document">Update a Single Document</h3>
486486
"><code>Updates.currentDate</code></a> to modify the <code>lastModified</code> field to the current date. If the <code>lastModified</code> field does not exist, the operator adds the field to the document.</p></li>
487487
</ul>
488488

489-
<div class="admonition tip">
490-
<h5 class="admonition-title">tip</h5>
491-
<p>In some cases where you may need to update many fields in a document, it may be more efficient to replace the document. See <a href="#replace-a-document">Replace a Document</a>.</p>
492-
493-
</div>
494-
495-
496489
<h3 id="update-multiple-documents">Update Multiple Documents</h3>
497490

498491
<p>The <a href="/mongo-java-driver/4.11/apidocs/mongodb-driver-reactivestreams/com/mongodb/reactivestreams/client/MongoCollection.html#updateMany(org.bson.conversions.Bson,org.bson.conversions.Bson)

4.11/driver-scala/tutorials/perform-write-operations/index.html

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<meta name="description" content="MongoDB Java Driver documentation">
66
<meta name="author" content="MongoDB Drivers Team">
77
<meta name="keyword" content="MongoDB, Java, JVM, NoSQL, Document Database">
8-
<meta name="date" content="2023-10-10T21:33:20.99">
8+
<meta name="date" content="2023-11-06T18:17:14.6">
99
<link rel="shortcut icon" href="/mongo-java-driver/4.11/img/favicon.png">
1010

1111
<title>Write Operations</title><link rel="stylesheet" href="/mongo-java-driver/4.11/lib/bootstrap.css" type="text/css" />
@@ -471,13 +471,6 @@ <h3 id="update-a-single-document">Update a Single Document</h3>
471471
"><code>Updates.currentDate</code></a> to modify the <code>lastModified</code> field to the current date. If the <code>lastModified</code> field does not exist, the operator adds the field to the document.</p></li>
472472
</ul>
473473

474-
<div class="admonition tip">
475-
<h5 class="admonition-title">tip</h5>
476-
<p>In some cases where you may need to update many fields in a document, it may be more efficient to replace the document. See <a href="#replace-a-document">Replace a Document</a>.</p>
477-
478-
</div>
479-
480-
481474
<h3 id="update-multiple-documents">Update Multiple Documents</h3>
482475

483476
<p>The <a href="/mongo-java-driver/4.11/apidocs/mongo-scala-driver/org/mongodb/scala/MongoCollection.html#updateMany(filter:org.mongodb.scala.bson.conversions.Bson,update:Seq[org.mongodb.scala.bson.conversions.Bson],options:org.mongodb.scala.model.UpdateOptions):org.mongodb.scala.SingleObservable[org.mongodb.scala.result.UpdateResult]

0 commit comments

Comments
 (0)