Skip to content

Commit da07c48

Browse files
committed
wip
1 parent 985df3e commit da07c48

File tree

1 file changed

+20
-13
lines changed

1 file changed

+20
-13
lines changed

source/fundamentals/aggregation.txt

Lines changed: 20 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -16,27 +16,34 @@ Aggregation
1616
Overview
1717
--------
1818

19-
In this guide, you can learn how to use **aggregation operations** in the {+driver-short+}.
19+
In this guide, you can learn how to use **aggregation operations** in
20+
the {+driver-short+}.
2021

21-
Aggregation operations process data in your MongoDB collections and return computed results. MongoDB's Aggregation
22-
pipeline, part of the Query API, is modeled on the concept of data processing pipelines. Documents enter a multi-staged pipeline that
23-
transforms the documents into an aggregated result.
24-
25-
Another way to think of aggregation is like a car factory. Within the car factory is an assembly line, along which
26-
are assembly stations with specialized tools to do a specific job, like drills and welders. Raw parts enter the factory,
27-
which are then transformed and assembled into a finished product.
28-
29-
The **aggregation pipeline** is the assembly line, **aggregation stages** are the assembly stations, and
30-
**operator expressions** are the specialized tools.
31-
32-
This guide provides examples on how to use aggregation pipelines.
22+
Aggregation operations process data in your MongoDB collections and
23+
return computed results. MongoDB's Aggregation pipeline, part of the
24+
Query API, is modeled on the concept of data processing pipelines.
25+
Documents enter a multi-staged pipeline that transforms the documents
26+
into an aggregated result.
3327

3428
.. sharedinclude:: dbx/agg-tutorials-manual-tip.rst
3529

3630
.. replacement:: language
3731

3832
:guilabel:`{+language+} (Coroutine)`
3933

34+
Analogy
35+
~~~~~~~
36+
37+
Another way to think of aggregation is like a car factory. Within the
38+
car factory is an assembly line, along which are assembly stations with
39+
specialized tools to do a specific job, like drills and welders. Raw
40+
parts enter the factory, which are then transformed and assembled into a
41+
finished product.
42+
43+
The **aggregation pipeline** is the assembly line, **aggregation
44+
stages** are the assembly stations, and **operator expressions** are the
45+
specialized tools.
46+
4047
Aggregation and Find Operations Compared
4148
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
4249

0 commit comments

Comments
 (0)