[DOCS-6942] db.collection.count() does not mention options Created: 08/Jan/16  Updated: 27/Jul/16  Resolved: 15/Jan/16

Status: Closed
Project: Documentation
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Major - P3
Reporter: Kyle Suarez Assignee: Kyle Suarez
Resolution: Done Votes: 0
Labels: 3.2
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
is related to DOCS-6874 Documented count().readConcern() synt... Closed
Participants:
Days since reply: 7 years, 29 weeks ago

 Description   

The official db.collection.count() documentation mentions that the function takes a single parameter, the query.

However, the actual code takes a second option, which are the optional arguments and are found in the actual source code.



 Comments   
Comment by Emily Hall [ 27/Jul/16 ]

Closed for housekeeping on 7/27/2016 by Emily Hall.
If you require additional support, please open a new ticket for prioritization.
Thanks,
Emily

Comment by Githook User [ 14/Jan/16 ]

Author:

{u'username': u'ksuarz', u'name': u'Kyle Suarez', u'email': u'kyle.suarez@mongodb.com'}

Message: DOCS-6942 missing options for db.collection.count

The db.collection.count() method actually takes two parameters: an options
dictionary, in addition to the query.

Signed-off-by: kay <kay.kim@10gen.com>
Branch: master
https://github.com/mongodb/docs/commit/72e4959c81305b261303a078248ef56446ba147a

Generated at Thu Feb 08 07:53:17 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.