Skip to content

Commit 3ca98c2

Browse files
committed
clean up
1 parent 1b43c37 commit 3ca98c2

File tree

4 files changed

+6
-163
lines changed

4 files changed

+6
-163
lines changed

source/crud/query-documents/find.txt

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

63+
To retrieve a single document, you can append the ``first()`` method to your
64+
``find()`` operation.
65+
6366
Example
6467
~~~~~~~
6568

@@ -91,8 +94,9 @@ criteria.
9194
Find Example: Full File
9295
~~~~~~~~~~~~~~~~~~~~~~~
9396

94-
The following code is a complete, standalone file that performs a find one
95-
operation and a find many operation.
97+
The following code is a complete, standalone file that performs a find
98+
operation to retrieve multiple douments, and a find operation with the first
99+
method to retrieve a single document.
96100

97101
.. include:: /includes/crud/example-intro.rst
98102

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)