OPEN Your next idea starts with a note Explore the library →

Notes, code and ideas. All in one place.

Notex/Databases/MongoDB

MongoDB

Edit on GitHub ↗Always free to read
  • Pipeline :collection (DB) ->> Stage 1 -->> Stage 2 -->> Stage 3 ...->> Output
  • Stage : I/P doc ->> Processing ->> O/p Stage

Aggregation Framework

  • The Aggregation Framework is a set of analytics tools within mongoDB that allows you to run the various reports or analysis on more or more mongoDB collections

  • Aggregation Modes: Aggregation Pipeline , Map Reduce , Single Purpose Aggregation Operations

  • Some Pipelining methods

These are the some stages of the aggregation pipelining

Stages Description
$project show some specific fields
$match match fields with some criteria
$group Grouping the fields to perform aggregation
$sort Performing the Sorting
$limit Limit the document to display
KEEP EXPLORING

One note leads to another.

Back to the library →
⌕
Search across the entire library ⌘ K