Skip to content

Commit f7061c3

Browse files
jmd-mongojeff-allen-mongo
authored andcommitted
DOCSP-17554 distinguish shell examples from driver examples on Versioned API page
1 parent ab79d9d commit f7061c3

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

source/reference/versioned-api.txt

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -231,8 +231,8 @@ documents. Since the :dbcommand:`count` command does not belong to the
231231
Versioned API, this application cannot use the Versioned API until the
232232
:dbcommand:`count` command is removed from the code.
233233

234-
You can use the sample code below to create a ``sales`` collection to
235-
follow along:
234+
Use the sample MQL (MongoDB Query Language) code to create a ``sales``
235+
collection in :mongosh:`mongosh </>`:
236236

237237
.. code-block:: javascript
238238

@@ -264,7 +264,8 @@ For example, issuing ``db.sales.count()`` results in this error:
264264

265265
However, the :dbcommand:`aggregate` command is
266266
:ref:`in the Versioned API <api-v1-command-list>` and can be used to
267-
obtain a count in the following way:
267+
obtain a count. Use the sample MQL (MongoDB Query Language) code to
268+
obtain a count from the ``sales`` collection in :mongosh:`mongosh </>`:
268269

269270
.. code-block:: javascript
270271

0 commit comments

Comments
 (0)