Skip to content

Commit 765a7c7

Browse files
authored
DOCSP-28755 Adds data type to countDocuments() (#3236) (#4185)
1 parent bef883f commit 765a7c7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

source/reference/method/db.collection.countDocuments.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@ Definition
2020
command
2121
.. include:: /includes/fact-mongosh-shell-method-alt
2222

23-
Returns the count of documents that match the query for a collection
24-
or view. This method is
25-
available for use in :doc:`/core/transactions`.
23+
Returns an integer for the number of documents that match the query
24+
of the collection or view. This method is available for use in
25+
:ref:`transactions`.
2626

2727
.. code-block:: javascript
2828

0 commit comments

Comments
 (0)