Skip to content

Commit 7861916

Browse files
committed
DOCSP-50747: agg tutorial link (#138)
* DOCSP-50747: agg tutorial link * wip (cherry picked from commit 05e46c0)
1 parent b24be2a commit 7861916

File tree

2 files changed

+12
-2
lines changed

2 files changed

+12
-2
lines changed

snooty.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,3 +30,4 @@ string-data-type = "``string``"
3030
int-data-type = "``int``"
3131
stable-api = "Stable API"
3232
mdb-server = "MongoDB Server"
33+
language = "C++"

source/aggregation.txt

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,14 +37,23 @@ part of the Query API, is modeled on the concept of data processing
3737
pipelines. Documents enter a pipeline that contains one or more stages,
3838
and this pipeline transforms the documents into an aggregated result.
3939

40+
.. sharedinclude:: dbx/agg-tutorials-manual-tip.rst
41+
42+
.. replacement:: language
43+
44+
:guilabel:`{+language+}11`
45+
46+
Analogy
47+
~~~~~~~
48+
4049
An aggregation operation is similar to a car factory. A car factory has
4150
an assembly line, which contains assembly stations with specialized
4251
tools to do specific jobs, like drills and welders. Raw parts enter the
4352
factory, and then the assembly line transforms and assembles them into a
4453
finished product.
4554

46-
The **aggregation pipeline** is the assembly line, **aggregation stages** are the
47-
assembly stations, and **operator expressions** are the
55+
The **aggregation pipeline** is the assembly line, **aggregation
56+
stages** are the assembly stations, and **operator expressions** are the
4857
specialized tools.
4958

5059
Aggregation Versus Find Operations

0 commit comments

Comments
 (0)