Skip to content

Commit 6b4b057

Browse files
committed
nits
1 parent 7cfb624 commit 6b4b057

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

source/whats-new.txt

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,9 @@ New features of the 4.4 Node.js driver release include:
3232
- In the 4.0.0 release of the driver, the deprecated ``collection.count()`` method was inadvertently changed to behave like ``collection.countDocuments()``.
3333
In this release, the ``collection.count()`` method is updated to match legacy behavior:
3434

35-
- If a query is passed in, ``collection.count()`` will behave the same as ``collection.countDocuments()`` and perform a collection scan.
36-
- If no query is passed in, ``collection.count()`` will behave the same as ``collection.estimatedDocumentCount()`` and rely on collection metadata..
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
37+
collection metadata.
3738

3839
.. important:: Deprecation Notice
3940

0 commit comments

Comments
 (0)