Skip to content

Commit dbbabec

Browse files
committed
SA feedback
1 parent a6f039d commit dbbabec

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

source/fundamentals/crud/read-operations/project.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ as a parameter. This method can be chained to include multiple fields in the pro
6464

6565
The following example uses the ``Find()`` method to find all restaurants in which the ``name``
6666
field value is ``"Emerald Pub"``. Then, the code calls the ``Project()``
67-
method to instruct the find operation to include the ``name`` and ``address`` fields
67+
method to instruct the find operation to include the ``name`` and ``cuisine`` fields
6868
in the result:
6969

7070
.. io-code-block::
@@ -111,7 +111,7 @@ excludes the ``_id`` field from the projection:
111111
Specify Fields to Exclude
112112
~~~~~~~~~~~~~~~~~~~~~~~~~
113113

114-
To specify the fields to include from the result, chain the ``Project()`` method
114+
To specify the fields to exclude from the result, chain the ``Project()`` method
115115
to the ``Find()`` method. You can exclude fields in your projection by using
116116
the ``Builders<T>.Projection.Exclude()`` method and passing in the field name to exclude
117117
as a parameter. This method can be chained to exclude multiple fields in the projection.

0 commit comments

Comments
 (0)