diff --git a/source/aggregation/pipeline-stages.txt b/source/aggregation/pipeline-stages.txt index eb60fde27..befdd3f73 100644 --- a/source/aggregation/pipeline-stages.txt +++ b/source/aggregation/pipeline-stages.txt @@ -34,29 +34,29 @@ method. See the following examples to learn more about each of these approaches. .. tabs:: .. tab:: Create a Pipeline - :tabid: pipeline-definition + :tabid: pipeline-definition - .. code-block:: javascript + .. code-block:: javascript - // Defines the aggregation pipeline - const pipeline = [ - { $match: { ... } }, - { $group: { ... } } - ]; + // Defines the aggregation pipeline + const pipeline = [ + { $match: { ... } }, + { $group: { ... } } + ]; - // Executes the aggregation pipeline - const results = await collection.aggregate(pipeline); + // Executes the aggregation pipeline + const results = await collection.aggregate(pipeline); .. tab:: Direct Aggregation - :tabid: pipeline-direct + :tabid: pipeline-direct - .. code-block:: javascript + .. code-block:: javascript - // Defines and executes the aggregation pipeline - const results = await collection.aggregate([ - { $match: { ... } }, - { $group: { ... } } - ]); + // Defines and executes the aggregation pipeline + const results = await collection.aggregate([ + { $match: { ... } }, + { $group: { ... } } + ]); Aggregation Stage Methods ------------------------- diff --git a/source/index.txt b/source/index.txt index 4fbe707b5..959607c84 100644 --- a/source/index.txt +++ b/source/index.txt @@ -153,7 +153,7 @@ For more information about using ODMs with MongoDB, see the following resources: - :website:`MongoDB ORMs, ODMs, and Libraries ` - `Mongoose `__ official documentation -- :ref:`` tutorial +- :ref:`Get Started with Mongoose ` tutorial - `Prisma `__ official documentation Packages diff --git a/source/monitoring-and-logging/monitoring.txt b/source/monitoring-and-logging/monitoring.txt index 742e4034d..1a34f7af7 100644 --- a/source/monitoring-and-logging/monitoring.txt +++ b/source/monitoring-and-logging/monitoring.txt @@ -138,6 +138,7 @@ commandSucceeded CommandSucceededEvent { requestId: 1534, + databaseName: "app", commandName: "find", address: 'localhost:27017', connectionId: 812613, @@ -168,6 +169,7 @@ commandFailed CommandFailedEvent { requestId: 1534, + databaseName: "app", commandName: "find", address: 'localhost:27017', connectionId: 812613,