diff --git a/source/tutorial/getting-started.txt b/source/tutorial/getting-started.txt index 6992d11af0d..5ffaf4975d7 100644 --- a/source/tutorial/getting-started.txt +++ b/source/tutorial/getting-started.txt @@ -32,7 +32,7 @@ examples in the shell above. :tabid: example-1 Switch Database - ~~~~~~~~~~~~~~~ + --------------- Within the :ref:`shell `, ``db`` refers to your current database. Type ``db`` to display the current @@ -69,7 +69,7 @@ examples in the shell above. :tabid: example-2 Populate a Collection (Insert) - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + ------------------------------ MongoDB stores documents in :doc:`collections `. Collections are analogous to @@ -160,7 +160,7 @@ examples in the shell above. :tabid: example-3 Select All Documents - ~~~~~~~~~~~~~~~~~~~~ + -------------------- To select the documents from a collection, you can use the :method:`db.collection.find()` method. To select all documents @@ -179,7 +179,7 @@ examples in the shell above. :tabid: example-4 Filter Data with Comparison Operators - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + ------------------------------------- For an equality match (```` equals ````), specify ``: `` in the :ref:`query filter @@ -227,7 +227,7 @@ examples in the shell above. :tabid: example-5 Specify Fields to Return (Projection) - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + ------------------------------------- To specify fields to return, pass a projection document to the :method:`db.collection.find(\, \`. - While :method:`find()` operations are useful for data - retrieval, the aggregation pipeline allows you to manipulate - data, perform calculations, and write more expressive queries - than simple :ref:`CRUD operations `. + While :method:`~db.collection.find()` operations are useful for + data retrieval, the aggregation pipeline allows you to manipulate + data, perform calculations, and write more expressive queries than + simple :ref:`CRUD operations `. In the :ref:`shell `, run the following aggregation pipeline to count the number of occurrences