Skip to content

Commit 94bc5a9

Browse files
committed
Fixes
1 parent 10dae4f commit 94bc5a9

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

source/read/distinct.txt

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ the ``restaurants`` collection:
6060
:start-after: start-distinct
6161
:end-before: end-distinct
6262
:language: kotlin
63+
:dedent:
6364

6465
.. output::
6566

@@ -91,6 +92,7 @@ all documents that have a ``cuisine`` field value of ``"Italian"``:
9192
:start-after: start-distinct-query
9293
:end-before: end-distinct-query
9394
:language: kotlin
95+
:dedent:
9496

9597
.. output::
9698

@@ -137,7 +139,7 @@ The following table describes some methods you can use to customize the
137139
- | Sets the maximum amount of time to allow the operation to run, in milliseconds.
138140

139141
For a complete list of methods you can use to modify the ``distinct()`` method, see
140-
the `DistinctIterable <{+api}/mongodb-driver-kotlin-sync/com.mongodb.kotlin.client/-distinct-iterable/index.html>`__ API documentation.
142+
the `DistinctIterable <{+api+}/mongodb-driver-kotlin-sync/com.mongodb.kotlin.client/-distinct-iterable/index.html>`__ API documentation.
141143

142144
The following example retrieves the distinct values of the ``name`` field for
143145
all documents that have a ``borough`` field value of ``"Bronx"`` and a
@@ -150,6 +152,7 @@ the ``comment`` option to add a comment to the operation.
150152
:start-after: start-distinct-comment
151153
:end-before: end-distinct-comment
152154
:language: kotlin
155+
:dedent:
153156

154157
.. output::
155158

0 commit comments

Comments
 (0)