File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -27,6 +27,15 @@ When you call the ``countDocuments()`` method, you can optionally pass a
27
27
**query filter** parameter. You cannot pass any parameters when you call
28
28
``estimatedDocumentCount()``.
29
29
30
+ .. important:: Stable API V1 and MongoDB Server Issue
31
+
32
+ If you are using the Stable API ``V1`` with the "strict" option and a
33
+ MongoDB server version between 5.0.0 and 5.0.8 inclusive, method calls to
34
+ ``estimatedDocumentCount()`` may error due to a server bug.
35
+
36
+ Upgrade to MongoDB server 5.0.9 or set the Stable API "strict" option to
37
+ ``false`` to avoid this issue.
38
+
30
39
You can also pass an optional parameter to either of these methods to
31
40
specify the behavior of the call:
32
41
You can’t perform that action at this time.
0 commit comments