Skip to content

Commit 86f80df

Browse files
committed
RR feedback
1 parent f8d0606 commit 86f80df

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

source/read.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,4 +25,4 @@ Read Data from MongoDB
2525
Retrieve Data </read/retrieve>
2626
Specify Documents to Return </read/specify-documents-to-return>
2727
Specify Fields to Return </read/project>
28-
Distinct Field Values </read/project>
28+
Distinct Field Values </read/distinct>

source/read/distinct.txt

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,10 @@ Overview
2323
In this guide, you can learn how to use the {+driver-short+} to retrieve the
2424
distinct values of a specified field across a collection.
2525

26-
Within a collection, different documents might contain different values for a
26+
Within a collection, documents might contain different values for a
2727
single field. For example, one document in a ``restaurants`` collection has a
2828
``borough`` value of ``'Manhattan'``, and another has a ``borough`` value of
29-
``'Queens'``. By using the {+driver-short+}, you can retrieve all the unique values
29+
``'Queens'``. You can use the {+driver-short+} to retrieve all the unique values
3030
that a field contains across multiple documents in a collection.
3131

3232
Sample Data
@@ -39,10 +39,10 @@ an Atlas cluster and assign the following values to your ``database`` and ``coll
3939
variables:
4040

4141
.. literalinclude:: /includes/read/distinct.rb
42-
:language: ruby
43-
:dedent:
44-
:start-after: start-db-coll
45-
:end-before: end-db-coll
42+
:language: ruby
43+
:dedent:
44+
:start-after: start-db-coll
45+
:end-before: end-db-coll
4646

4747
To learn how to create a free MongoDB Atlas cluster and load the sample datasets, see the
4848
:atlas:`Get Started with Atlas </getting-started>` guide.

0 commit comments

Comments
 (0)