Skip to content

Commit c110ac7

Browse files
committed
fix some build errors
1 parent b98c1c3 commit c110ac7

File tree

1 file changed

+16
-16
lines changed

1 file changed

+16
-16
lines changed

source/aggregation/pipeline-stages.txt

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -34,29 +34,29 @@ method. See the following examples to learn more about each of these approaches.
3434
.. tabs::
3535

3636
.. tab:: Create a Pipeline
37-
:tabid: pipeline-definition
37+
:tabid: pipeline-definition
3838

39-
.. code-block:: javascript
39+
.. code-block:: javascript
4040

41-
// Defines the aggregation pipeline
42-
const pipeline = [
43-
{ $match: { ... } },
44-
{ $group: { ... } }
45-
];
41+
// Defines the aggregation pipeline
42+
const pipeline = [
43+
{ $match: { ... } },
44+
{ $group: { ... } }
45+
];
4646

47-
// Executes the aggregation pipeline
48-
const results = await collection.aggregate(pipeline);
47+
// Executes the aggregation pipeline
48+
const results = await collection.aggregate(pipeline);
4949

5050
.. tab:: Direct Aggregation
51-
:tabid: pipeline-direct
51+
:tabid: pipeline-direct
5252

53-
.. code-block:: javascript
53+
.. code-block:: javascript
5454

55-
// Defines and executes the aggregation pipeline
56-
const results = await collection.aggregate([
57-
{ $match: { ... } },
58-
{ $group: { ... } }
59-
]);
55+
// Defines and executes the aggregation pipeline
56+
const results = await collection.aggregate([
57+
{ $match: { ... } },
58+
{ $group: { ... } }
59+
]);
6060

6161
Aggregation Stage Methods
6262
-------------------------

0 commit comments

Comments
 (0)