Skip to content

Commit 0df507b

Browse files
committed
improvements
1 parent 14a52d5 commit 0df507b

File tree

2 files changed

+0
-43
lines changed

2 files changed

+0
-43
lines changed

source/whats-new.txt

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ What's New
1212

1313
Learn what's new in:
1414

15-
* :ref:`Version 5.4 <kotlin-sync-version-5.4>`
1615
* :ref:`Version 5.3 <kotlin-sync-version-5.3>`
1716
* :ref:`Version 5.2 <kotlin-sync-version-5.2>`
1817
* :ref:`Version 5.1.3 <kotlin-sync-version-5.1.3>`
@@ -21,22 +20,6 @@ Learn what's new in:
2120
* :ref:`Version 5.1 <kotlin-sync-version-5.1>`
2221
* :ref:`Version 5.0 <kotlin-sync-version-5.0>`
2322

24-
.. _kotlin-sync-version-5.4:
25-
26-
What's New in 5.4
27-
-----------------
28-
29-
The 5.4 driver release includes the following changes, fixes,
30-
and features:
31-
32-
.. sharedinclude:: dbx/jvm/v5.4-wn-items.rst
33-
34-
.. replacement:: sort-option-link
35-
36-
the :ref:`kotlin-sync-client-bulk-write-update` and
37-
:ref:`kotlin-sync-client-bulk-write-replace` sections of the Bulk Write
38-
Operations guide
39-
4023
.. _kotlin-sync-version-5.3:
4124

4225
What's New in 5.3

source/write/bulk-write.txt

Lines changed: 0 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -501,19 +501,6 @@ document that has a ``name`` value of ``"Villa Berulia"`` in the
501501
to ``true`` in all documents that have a ``title`` value of ``"Carrie"``
502502
in the ``movies`` collection.
503503

504-
If multiple documents match the query filter specified in
505-
a ``ClientNamespacedUpdateOneModel`` instance, the operation updates the
506-
first result. You can specify a sort order in a `ClientUpdateOneOptions
507-
<{+core-api+}/com/mongodb/client/model/bulk/ClientUpdateOneOptions.html>`__
508-
instance to apply an order to matched documents before the server
509-
performs the update operation, as shown in the following code:
510-
511-
.. code-block:: kotlin
512-
513-
val options = ClientUpdateOneOptions
514-
.clientUpdateOneOptions()
515-
.sort(Sorts.ascending("_id"))
516-
517504
.. _kotlin-sync-client-bulk-write-replace:
518505

519506
Replace Operations
@@ -535,19 +522,6 @@ in the ``restaurants`` collection is replaced with a new document. The document
535522
the ``movies`` collection that has an ``_id`` value of ``1``
536523
is also replaced with a new document.
537524

538-
If multiple documents match the query filter specified in
539-
a ``ClientNamespacedReplaceOneModel`` instance, the operation replaces the
540-
first result. You can specify a sort order in a `ClientReplaceOneOptions
541-
<{+core-api+}/com/mongodb/client/model/bulk/ClientReplaceOneOptions.html>`__
542-
instance to apply an order to matched documents before the driver
543-
performs the replace operation, as shown in the following code:
544-
545-
.. code-block:: kotlin
546-
547-
val options = ClientReplaceOneOptions
548-
.clientReplaceOneOptions()
549-
.sort(Sorts.ascending("_id"))
550-
551525
Perform the Bulk Operation
552526
~~~~~~~~~~~~~~~~~~~~~~~~~~
553527

0 commit comments

Comments
 (0)