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 @@ -21,7 +21,7 @@ Overview
21
21
--------
22
22
23
23
Within a collection, different documents might contain different values for a single field.
24
- For example, one ``restaurant`` document has a ``borough`` value of ``"Manhattan"``, and
24
+ For example, one document in the ``restaurant`` collection has a ``borough`` value of ``"Manhattan"``, and
25
25
another has a ``borough`` value of ``"Queens"``. With the {+driver-short+}, you can
26
26
retrieve all the distinct values that a field contains across multiple documents
27
27
in a collection.
@@ -34,7 +34,7 @@ database from the :atlas:`Atlas sample datasets </sample-data>`. To learn how to
34
34
free MongoDB Atlas cluster and load the sample datasets, see the
35
35
:atlas:`Get Started with Atlas </getting-started>` guide.
36
36
37
- The following {+language+} data class models the document in this collection:
37
+ The following {+language+} data class models the documents in this collection:
38
38
39
39
.. literalinclude:: /includes/read/distinct.kt
40
40
:start-after: start-data-class
You can’t perform that action at this time.
0 commit comments