We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 95d8456 commit 4498525Copy full SHA for 4498525
source/core/transactions.txt
@@ -98,11 +98,11 @@ Count Operation
98
99
To perform a count operation within a transaction, use the
100
:pipeline:`$count` aggregation stage or the :pipeline:`$group` (with a
101
-:expression:`$sum` expression) aggregation stage.
+:group:`$sum` expression) aggregation stage.
102
103
MongoDB drivers compatible with the 4.0 features provide a
104
collection-level API ``countDocuments(filter, options)`` as a helper
105
-method that uses the :pipeline:`$group` with a :expression:`$sum`
+method that uses the :pipeline:`$group` with a :group:`$sum`
106
expression to perform a count.
107
108
.. _transactions-ops-info:
0 commit comments