File tree 1 file changed +9
-1
lines changed
1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -50,7 +50,15 @@ Behavior
50
50
This method returns an estimate of the count of documents in the collection
51
51
using collection metadata, rather than counting the documents or consulting an
52
52
index. This method does not take a ``session`` option and cannot be executed
53
- within a transaction.
53
+ within a transaction. See
54
+ `Count: Behavior <https://www.mongodb.com/docs/manual/reference/command/count/#behavior>`_
55
+ in the MongoDB manual for more information.
56
+
57
+ This method is implemented using the :manual:`count </reference/command/count>`
58
+ command. Due to an oversight in versions 5.0.0-5.0.8 of MongoDB, the ``count``
59
+ command was not included in version "1" of the Stable API. Applications using
60
+ this method with the Stable API are recommended to upgrade their server version
61
+ to 5.0.9+ or disable strict mode to avoid encountering errors.
54
62
55
63
See Also
56
64
--------
You can’t perform that action at this time.
0 commit comments