-
Notifications
You must be signed in to change notification settings - Fork 20
DOCSP-50751: agg tutorial link #235
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 2 commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
@@ -16,18 +16,33 @@ Aggregation | |||||||||||||
Overview | ||||||||||||||
-------- | ||||||||||||||
|
||||||||||||||
In this guide, you can learn how to use **aggregation operations** in the MongoDB Kotlin driver. | ||||||||||||||
In this guide, you can learn how to use **aggregation operations** in | ||||||||||||||
the {+driver-short+}. | ||||||||||||||
|
||||||||||||||
Aggregation operations process data in your MongoDB collections and return computed results. MongoDB's Aggregation | ||||||||||||||
pipeline, part of the Query API, is modeled on the concept of data processing pipelines. Documents enter a multi-staged pipeline that | ||||||||||||||
transforms the documents into an aggregated result. | ||||||||||||||
Aggregation operations process data in your MongoDB collections and | ||||||||||||||
return computed results. MongoDB's Aggregation pipeline, part of the | ||||||||||||||
Query API, is modeled on the concept of data processing pipelines. | ||||||||||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||||||||||
Documents enter a multi-staged pipeline that transforms the documents | ||||||||||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||||||||||
into an aggregated result. | ||||||||||||||
|
||||||||||||||
Another way to think of aggregation is like a car factory. Within the car factory is an assembly line, along which | ||||||||||||||
are assembly stations with specialized tools to do a specific job, like drills and welders. Raw parts enter the factory, | ||||||||||||||
which are then transformed and assembled into a finished product. | ||||||||||||||
.. sharedinclude:: dbx/agg-tutorials-manual-tip.rst | ||||||||||||||
|
||||||||||||||
The **aggregation pipeline** is the assembly line, **aggregation stages** are the assembly stations, and | ||||||||||||||
**operator expressions** are the specialized tools. | ||||||||||||||
.. replacement:: language | ||||||||||||||
|
||||||||||||||
:guilabel:`{+language+} (Coroutine)` | ||||||||||||||
|
||||||||||||||
Analogy | ||||||||||||||
~~~~~~~ | ||||||||||||||
|
||||||||||||||
Another way to think of aggregation is like a car factory. Within the | ||||||||||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||||||||||
car factory is an assembly line, along which are assembly stations with | ||||||||||||||
specialized tools to do a specific job, like drills and welders. Raw | ||||||||||||||
parts enter the factory, which are then transformed and assembled into a | ||||||||||||||
finished product. | ||||||||||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||||||||||
|
||||||||||||||
The **aggregation pipeline** is the assembly line, **aggregation | ||||||||||||||
stages** are the assembly stations, and **operator expressions** are the | ||||||||||||||
specialized tools. | ||||||||||||||
|
||||||||||||||
Aggregation and Find Operations Compared | ||||||||||||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ||||||||||||||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i don't think this should be capitalized