Skip to content

Commit 4498525

Browse files
committed
trivial: fix link to sum agg operator
1 parent 95d8456 commit 4498525

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

source/core/transactions.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,11 +98,11 @@ Count Operation
9898

9999
To perform a count operation within a transaction, use the
100100
:pipeline:`$count` aggregation stage or the :pipeline:`$group` (with a
101-
:expression:`$sum` expression) aggregation stage.
101+
:group:`$sum` expression) aggregation stage.
102102

103103
MongoDB drivers compatible with the 4.0 features provide a
104104
collection-level API ``countDocuments(filter, options)`` as a helper
105-
method that uses the :pipeline:`$group` with a :expression:`$sum`
105+
method that uses the :pipeline:`$group` with a :group:`$sum`
106106
expression to perform a count.
107107

108108
.. _transactions-ops-info:

0 commit comments

Comments
 (0)