You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: source/whats-new.txt
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -32,8 +32,8 @@ New features of the 4.4 Node.js driver release include:
32
32
- In the 4.0.0 release of the driver, the deprecated ``collection.count()`` method was inadvertently changed to behave like ``collection.countDocuments()``.
33
33
In this release, the ``collection.count()`` method is updated to match legacy behavior:
34
34
35
-
- If a query is provided, ``collection.count()`` behaves the same as ``collection.countDocuments()`` and perform a collection scan.
36
-
- If no query is not provided, ``collection.count()`` behaves the same as ``collection.estimatedDocumentCount()`` and relies on
35
+
- If a query is provided, ``collection.count()`` behaves the same as ``collection.countDocuments()`` and performs a collection scan.
36
+
- If no query is provided, ``collection.count()`` behaves the same as ``collection.estimatedDocumentCount()`` and relies on
0 commit comments