Skip to content

Commit

Permalink
DOCSP-37357: Update Insert Documents Instruqt rST (#879)
Browse files Browse the repository at this point in the history
(cherry picked from commit 379df98)
(cherry picked from commit 0229fe4)
  • Loading branch information
norareidy committed Mar 6, 2024
1 parent 995b5c6 commit d40eb2e
Showing 1 changed file with 9 additions and 17 deletions.
26 changes: 9 additions & 17 deletions source/fundamentals/crud/write-operations/insert.txt
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,14 @@ operations:
- ``bulkWrite()``

.. tip:: Interactive Lab

This page includes a short interactive lab that demonstrates how to
insert data by using the ``insertOne()`` method. You can complete this lab
directly in your browser window without installing MongoDB or a code editor.

You can complete a short interactive lesson that demonstrates how to
insert data by using the ``insertOne()`` method in an in-browser coding
experience. To learn more, see the :ref:`node-insert-instruqt-lab`
section of this guide.
To start the lab, click the :guilabel:`Open Interactive Tutorial` button at the
top of the page. To expand the lab to a full-screen format, click the
full-screen button (:guilabel:`⛶`) in the top-right corner of the lab pane.

The following sections focus on ``insertOne()`` and ``insertMany()``. For an
example on how to use the ``bulkWrite()`` method, see our runnable :doc:`Bulk
Expand Down Expand Up @@ -241,17 +244,6 @@ section, see the following resources:

.. _node-insert-instruqt-lab:

Complete an Interactive Lesson
------------------------------

This lab helps you understand how to perform insert operations in MongoDB
by using the ``insertOne()`` method. You can complete this lab directly in
your browser window without installing MongoDB or a code editor.

.. tip::

To expand the lab to a full-screen format, click the full-screen
button, :guilabel:`⛶`, in the lower-right corner of the lab pane.

.. instruqt:: /mongodb-docs/tracks/insert-node?token=em_S6rjcmIzxGB4Sz_y
:title: insertOne() Lesson
:title: insertOne() Lesson
:drawer:

0 comments on commit d40eb2e

Please sign in to comment.