File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -122,7 +122,7 @@ result. You can specify a sort in an ``UpdateOptions`` instance to apply
122
122
an order to matched documents before the driver performs the update
123
123
operation, as shown in the following code:
124
124
125
- .. code-block:: java
125
+ .. code-block:: kotlin
126
126
127
127
val opts = UpdateOptions().sort(Sorts.ascending(Restaurant::name.name))
128
128
@@ -164,7 +164,7 @@ result. You can specify a sort in a ``ReplaceOptions`` instance to apply
164
164
an order to matched documents before the driver performs the replace
165
165
operation, as shown in the following code:
166
166
167
- .. code-block:: java
167
+ .. code-block:: kotlin
168
168
169
169
val opts = ReplaceOptions().sort(Sorts.ascending(Restaurant::name.name))
170
170
You can’t perform that action at this time.
0 commit comments