Skip to content

Commit ce2b362

Browse files
authored
DOCSP-29465 Add Instruqt Lab to db.collection.find (#4288)
* DOCSP-29465 Instruqt db.collection.find * add lab * fixes * space * setup hotbox * page formatting * Revert "page formatting" This reverts commit 7aabae7df083645fcb1b35086491ef75a08c5066. * remove directive * updated lab w/ atlas * correct embed string * intro include * IF feedback * update lab link * prod instruqt link
1 parent 204d088 commit ce2b362

File tree

2 files changed

+13
-1
lines changed

2 files changed

+13
-1
lines changed
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
You do not need to install anything. Click the :guilabel:`Launch` button in the
2+
in-browser Integrated Development Environment to start the lab.

source/reference/method/db.collection.find.txt

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,6 +221,16 @@ Client Disconnection
221221

222222
.. include:: /includes/extracts/4.2-changes-disconnect.rst
223223

224+
Try It Yourself
225+
---------------
226+
227+
The following lab walks you through how to use the ``db.collection.find()``
228+
method to find documents using equality match and the :query:`$in` operator.
229+
230+
.. include:: /includes/fact-instruqt-intro.rst
231+
232+
.. instruqt:: /mongodb-docs/tracks/db-collection-find?token=em_QKWBdDpRWvGirycJ
233+
224234
Examples
225235
--------
226236

@@ -506,7 +516,7 @@ collection </reference/bios-example-collection>`.
506516
db.bios.find(
507517
{ "awards.award": "Turing Award" }
508518
)
509-
519+
510520
- The following operation returns documents in the :doc:`bios
511521
collection </reference/bios-example-collection>` where the ``awards``
512522
array contains at least one element with both the ``award`` field

0 commit comments

Comments
 (0)