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
2727**query filter** parameter. You cannot pass any parameters when you call
2828``estimatedDocumentCount()``.
2929
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+
3039You can also pass an optional parameter to either of these methods to
3140specify the behavior of the call:
3241
You can’t perform that action at this time.
0 commit comments