44Retrieve Data
55=============
66
7- .. default-domain:: mongodb
8-
97.. contents:: On this page
108 :local:
119 :backlinks: none
@@ -17,14 +15,19 @@ Retrieve Data
1715Overview
1816--------
1917
20- You can use read operations to retrieve data from your MongoDB database.
21- There are multiple types of read operations that access the data in
22- different ways. If you want to request results based on a set of criteria
23- from the existing set of data, you can use a find operation such as the
24- ``find()`` or ``findOne()`` methods.
18+ You can perform find operations to retrieve data from your MongoDB database.
19+ You can perform a find operation to match documents on a set of criteria
20+ by calling the ``find()`` or ``findOne()`` method.
21+
22+ .. tip:: Interactive Lab
23+
24+ You can complete an interactive lab that uses the
25+ ``find()`` method to retrieve data in the
26+ :ref:`node-retrieve-instruqt-lab` section of this guide.
2527
26- You can also further specify the information you are requesting by
27- including additional parameters or by chaining other methods such as:
28+ You can also further specify the information that the find operation
29+ returns by specifying optional parameters or by chaining other methods,
30+ as shown in the following guides:
2831
2932- :ref:`node-fundamentals-sort`
3033- :ref:`node-fundamentals-skip`
@@ -41,9 +44,6 @@ matching data is inserted.
4144
4245.. include:: /includes/access-cursor-note.rst
4346
44- Compatibility
45- -------------
46-
4747.. |page-topic| replace:: perform read operations
4848.. |link-topic-ing| replace:: performing read operations in the Atlas UI
4949
@@ -199,6 +199,16 @@ data whenever write operations are executed on the collection.
199199 :start-after: start watch crud example
200200 :end-before: end watch crud example
201201
202-
203202For a runnable example of the ``watch()`` method using the NodeJS driver, see
204203the :ref:`change streams <node-usage-watch>` usage example.
204+
205+ .. _node-retrieve-instruqt-lab:
206+
207+ Interactive Find Operation Lab
208+ ------------------------------
209+
210+ This lab helps you understand how to perform read operations in MongoDB
211+ by using the ``find()`` method. You can complete this lab without
212+ installing MongoDB or a code editor.
213+
214+ .. instruqt:: /mongodb-docs/tracks/find-node?token=em_OVNHWCPNPMLwNOCm
0 commit comments