11.. _node-aggregation-pipeline-stages:
22
3- ===============
3+ ===========================
44Aggregation Pipeline Stages
5- ===============
5+ ===========================
66
77.. contents:: On this page
88 :local:
@@ -16,14 +16,17 @@ Aggregation Pipeline Stages
1616
1717.. meta::
1818 :keywords: node.js, code example, transform, pipeline
19- :description: Learn the different possible stages of the aggregation pipeline in the {+driver-short+} .
19+ :description: Learn the different possible stages of the aggregation pipeline in the Node.js Driver .
2020
2121Overview
2222------------
2323
24- On this page , you can learn how to create an aggregation pipeline and pipeline
24+ In this guide , you can learn how to create an aggregation pipeline and pipeline
2525stages by using methods in the {+driver-short+}.
2626
27+ To learn more about the aggregation stages supported by the Node.js Driver, see
28+ :ref:`Aggregation Pipeline Stages <node-aggregation-pipeline-stages>`.
29+
2730Build an Aggregation Pipeline
2831-----------------------------
2932
@@ -58,7 +61,6 @@ method. See the following examples to learn more about each of these approaches.
5861 { $group: { ... } }
5962 ]);
6063
61-
6264Aggregation Stage Methods
6365-------------------------
6466
@@ -95,17 +97,17 @@ manual.
9597 * - :manual:`$changeStream </reference/operator/aggregation/changeStream/>`
9698 - Returns a change stream cursor for the collection.
9799
98- Instead of being passed to the ``. aggregate()`` method,
99- ``$changeStream`` uses the ``. watch()`` method on a ``collection ``
100+ Instead of being passed to the ``aggregate()`` method,
101+ ``$changeStream`` uses the ``watch()`` method on a ``Collection ``
100102 object.
101103
102104 * - :manual:`$changeStreamSplitLargeEvent </reference/operator/aggregation/changeStreamSplitLargeEvent/>`
103105 - Splits large change stream events that exceed 16 MB into smaller fragments returned
104106 in a change stream cursor.
105107
106- Instead of being passed to the ``. aggregate()`` method,
107- ``$changeStreamSplitLargeEvent`` uses the ``. watch()`` method on a
108- ``collection `` object.
108+ Instead of being passed to the ``aggregate()`` method,
109+ ``$changeStreamSplitLargeEvent`` uses the ``watch()`` method on a
110+ ``Collection `` object.
109111
110112 * - :manual:`$collStats </reference/operator/aggregation/collStats/>`
111113 - Returns statistics regarding a collection or view.
@@ -312,7 +314,8 @@ To learn more about creating pipeline stages, see :manual:`Aggregation Stages
312314For more information about the methods and classes used on this page, see the
313315following API documentation:
314316
315- - `Collection() <https://mongodb.github.io/node-mongodb-native/6.17/classes/Collection.html>`__
316- - `aggregate() <https://mongodb.github.io/node-mongodb-native/6.17/classes/Collection.html#aggregate>`__
317- - `AggregateOptions <https://mongodb.github.io/node-mongodb-native/6.17/interfaces/AggregateOptions.html>`__
317+ - `Collection <{+api+}/classes/Collection.html>`__
318+ - `aggregate() <{+api+}/classes/Collection.html#aggregate>`__
319+ - `watch() <{+api+}/classes/Collection.html#watch>`__
320+ - `AggregateOptions <{+api+}/interfaces/AggregateOptions.html>`__
318321
0 commit comments