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

db.collection.count() does not mention options

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None

    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.

      Attachments

        Activity

          People

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

            Dates

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