diff --git a/snooty.toml b/snooty.toml index 6bc096d..5094fa1 100644 --- a/snooty.toml +++ b/snooty.toml @@ -30,3 +30,4 @@ string-data-type = "``string``" int-data-type = "``int``" stable-api = "Stable API" mdb-server = "MongoDB Server" +language = "C++" diff --git a/source/aggregation.txt b/source/aggregation.txt index 4a76cf1..19737cb 100644 --- a/source/aggregation.txt +++ b/source/aggregation.txt @@ -37,14 +37,23 @@ part of the Query API, is modeled on the concept of data processing pipelines. Documents enter a pipeline that contains one or more stages, and this pipeline transforms the documents into an aggregated result. +.. sharedinclude:: dbx/agg-tutorials-manual-tip.rst + + .. replacement:: language + + :guilabel:`{+language+}11` + +Analogy +~~~~~~~ + An aggregation operation is similar to a car factory. A car factory has an assembly line, which contains assembly stations with specialized tools to do specific jobs, like drills and welders. Raw parts enter the factory, and then the assembly line transforms and assembles them into a finished product. -The **aggregation pipeline** is the assembly line, **aggregation stages** are the -assembly stations, and **operator expressions** are the +The **aggregation pipeline** is the assembly line, **aggregation +stages** are the assembly stations, and **operator expressions** are the specialized tools. Aggregation Versus Find Operations