Skip to content

Commit a3f187e

Browse files
committed
JY feedback
1 parent 895a762 commit a3f187e

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

source/crud/read-operations/distinct.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ Overview
2424
In this guide, you can learn how to retrieve a list of distinct values for a
2525
field across a collection by calling the ``distinct()`` method on a
2626
``MongoCollection`` object. Pass the document field name as the first parameter
27-
and the class you want to use for the results format as the second parameter as shown
27+
and the class you want to use for the results as the second parameter, as shown
2828
below:
2929

3030
.. code-block:: java

source/logging-monitoring/change-streams.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -70,9 +70,9 @@ events that the change stream listens for:
7070
Filter the Events
7171
~~~~~~~~~~~~~~~~~
7272

73-
The ``watch()`` method optionally takes an **aggregation pipeline** which
74-
consists of a list of **stages** as the first parameter, which can be used to
75-
filter and transform the change event output, as follows:
73+
The ``watch()`` method takes an optional **aggregation pipeline** as the first
74+
parameter, which consists of a list of **stages** that can be used to
75+
filter and transform the change event output, as follows:
7676

7777
.. code-block:: java
7878

0 commit comments

Comments
 (0)