Skip to content

Commit efbb1f7

Browse files
committed
clean up
1 parent 985d8ef commit efbb1f7

File tree

4 files changed

+6
-163
lines changed

4 files changed

+6
-163
lines changed

source/crud/read-operations/retrieve.txt

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,9 @@ match the query filter you provide. For more information about how to
6262
specify a query, see our :ref:`Specify a Query
6363
<java-query>` guide.
6464

65+
To retrieve a single document, you can append the ``first()`` method to your
66+
``find()`` operation.
67+
6568
Example
6669
~~~~~~~
6770

@@ -93,8 +96,9 @@ criteria.
9396
Find Example: Full File
9497
~~~~~~~~~~~~~~~~~~~~~~~
9598

96-
The following code is a complete, standalone file that performs a find one
97-
operation and a find many operation.
99+
The following code is a complete, standalone file that performs a find
100+
operation to retrieve multiple douments, and a find operation with the first
101+
method to retrieve a single document.
98102

99103
.. include:: /includes/crud/example-intro.rst
100104

source/usage-examples/find-operations.txt

Lines changed: 0 additions & 15 deletions
This file was deleted.

source/usage-examples/find.txt

Lines changed: 0 additions & 77 deletions
This file was deleted.

source/usage-examples/findOne.txt

Lines changed: 0 additions & 69 deletions
This file was deleted.

0 commit comments

Comments
 (0)