Skip to content

Commit a11226b

Browse files
committed
DOCSP-50497 suggestions
1 parent e7a22e5 commit a11226b

File tree

2 files changed

+17
-15
lines changed

2 files changed

+17
-15
lines changed

source/aggregation.txt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ Aggregation Operations
2929
Overview
3030
--------
3131

32-
In this guide, you can learn how to use the MongoDB Node.js Driver to perform
32+
In this guide, you can learn how to use the {+driver-long+} to perform
3333
**aggregation operations**.
3434

3535
Aggregation operations process data in your MongoDB collections and return
@@ -98,7 +98,6 @@ Consider the following :manual:`limitations </core/aggregation-pipeline-limits/>
9898

9999
- Returned documents must not violate the :manual:`BSON document size limit </reference/limits/#mongodb-limit-BSON-Document-Size>`
100100
of 16 megabytes.
101-
102101
- Pipeline stages have a memory limit of 100 megabytes by default. If required,
103102
you can exceed this limit by enabling the `AllowDiskUse
104103
<https://mongodb.github.io/node-mongodb-native/6.17/interfaces/AggregateOptions.html#allowDiskUse>`__

source/aggregation/pipeline-stages.txt

Lines changed: 16 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
.. _node-aggregation-pipeline-stages:
22

3-
===============
3+
===========================
44
Aggregation 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

2121
Overview
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
2525
stages 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+
2730
Build 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-
6264
Aggregation 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
312314
For more information about the methods and classes used on this page, see the
313315
following 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

Comments
 (0)