File tree 1 file changed +2
-2
lines changed
source/fundamentals/crud/read-operations
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -64,7 +64,7 @@ as a parameter. This method can be chained to include multiple fields in the pro
64
64
65
65
The following example uses the ``Find()`` method to find all restaurants in which the ``name``
66
66
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
68
68
in the result:
69
69
70
70
.. io-code-block::
@@ -111,7 +111,7 @@ excludes the ``_id`` field from the projection:
111
111
Specify Fields to Exclude
112
112
~~~~~~~~~~~~~~~~~~~~~~~~~
113
113
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
115
115
to the ``Find()`` method. You can exclude fields in your projection by using
116
116
the ``Builders<T>.Projection.Exclude()`` method and passing in the field name to exclude
117
117
as a parameter. This method can be chained to exclude multiple fields in the projection.
You can’t perform that action at this time.
0 commit comments