Skip to content

Commit c681d3d

Browse files
Fix build errors
1 parent 17d9a38 commit c681d3d

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

source/tutorial/getting-started.txt

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ examples in the shell above.
3232
:tabid: example-1
3333

3434
Switch Database
35-
~~~~~~~~~~~~~~~
35+
---------------
3636

3737
Within the :ref:`shell <mongo-web-shell>`, ``db`` refers to
3838
your current database. Type ``db`` to display the current
@@ -69,7 +69,7 @@ examples in the shell above.
6969
:tabid: example-2
7070

7171
Populate a Collection (Insert)
72-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
72+
------------------------------
7373

7474
MongoDB stores documents in :doc:`collections
7575
</core/databases-and-collections>`. Collections are analogous to
@@ -160,7 +160,7 @@ examples in the shell above.
160160
:tabid: example-3
161161

162162
Select All Documents
163-
~~~~~~~~~~~~~~~~~~~~
163+
--------------------
164164

165165
To select the documents from a collection, you can use the
166166
:method:`db.collection.find()` method. To select all documents
@@ -179,7 +179,7 @@ examples in the shell above.
179179
:tabid: example-4
180180

181181
Filter Data with Comparison Operators
182-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
182+
-------------------------------------
183183

184184
For an equality match (``<field>`` equals ``<value>``),
185185
specify ``<field>: <value>`` in the :ref:`query filter
@@ -227,7 +227,7 @@ examples in the shell above.
227227
:tabid: example-5
228228

229229
Specify Fields to Return (Projection)
230-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
230+
-------------------------------------
231231

232232
To specify fields to return, pass a projection document to the
233233
:method:`db.collection.find(\<query document\>, \<projection
@@ -260,17 +260,17 @@ examples in the shell above.
260260
:tabid: example-6
261261

262262
Aggregate Data (:pipeline:`$group`)
263-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
263+
-----------------------------------
264264

265265
You can use aggregation to group values from multiple documents
266266
together and return a single result. Aggregation in MongoDB
267267
is performed with an :ref:`aggregation pipeline
268268
<aggregation-framework>`.
269269

270-
While :method:`find()` operations are useful for data
271-
retrieval, the aggregation pipeline allows you to manipulate
272-
data, perform calculations, and write more expressive queries
273-
than simple :ref:`CRUD operations <crud>`.
270+
While :method:`~db.collection.find()` operations are useful for
271+
data retrieval, the aggregation pipeline allows you to manipulate
272+
data, perform calculations, and write more expressive queries than
273+
simple :ref:`CRUD operations <crud>`.
274274

275275
In the :ref:`shell <mongo-web-shell>`, run the following
276276
aggregation pipeline to count the number of occurrences

0 commit comments

Comments
 (0)