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 b9618ef commit 10c676cCopy full SHA for 10c676c
source/old-content/reference/aggregation.txt
@@ -98,14 +98,6 @@ find the total number of documents which have the exact array
98
99
count = coll.count({ 'categories' => [ 'Chinese', 'Seafood' ] })
100
101
-.. note::
102
-
103
- The ``count`` method is not the same as the ``countDocuments``
104
- method and may not support the same filters. ``countDocuments`` uses the
105
- ``$match`` stage of the aggregation pipeline to filter documents. To learn more
106
- about limitations of the ``$match`` stage, see :manual:`$match Restrictions </reference/operator/aggregation/match/#restrictions>`
107
- in the MongoDB Server manual.
108
109
Distinct
110
~~~~~~~~
111
0 commit comments