Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-6942

db.collection.count() does not mention options

    • Type: Icon: Task Task
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Labels:

      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.

            Assignee:
            kyle.suarez@mongodb.com Kyle Suarez
            Reporter:
            kyle.suarez@mongodb.com Kyle Suarez
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              7 years, 40 weeks ago