Skip to content

Commit 3365e64

Browse files
committed
code language fix
1 parent c00f683 commit 3365e64

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

source/write/bulk-write.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ result. You can specify a sort in an ``UpdateOptions`` instance to apply
122122
an order to matched documents before the driver performs the update
123123
operation, as shown in the following code:
124124

125-
.. code-block:: java
125+
.. code-block:: kotlin
126126

127127
val opts = UpdateOptions().sort(Sorts.ascending(Restaurant::name.name))
128128

@@ -164,7 +164,7 @@ result. You can specify a sort in a ``ReplaceOptions`` instance to apply
164164
an order to matched documents before the driver performs the replace
165165
operation, as shown in the following code:
166166

167-
.. code-block:: java
167+
.. code-block:: kotlin
168168

169169
val opts = ReplaceOptions().sort(Sorts.ascending(Restaurant::name.name))
170170

0 commit comments

Comments
 (0)