Uploaded image for project: 'MongoDB Shell'
  1. MongoDB Shell
  2. MONGOSH-353

Argument for db.stats() should be optional

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 0.4.2
    • Affects Version/s: None
    • Component/s: Shell API
    • Labels:
    • 1
    • Not Needed
    • Iteration Nectarine

      In db.stats(), we are requiring the scale argument to be passed. According to the docs for mongo it's however optional and defaults to 1.

       

      https://docs.mongodb.com/manual/reference/method/db.stats/

            Assignee:
            anna.herlihy@mongodb.com Anna Herlihy (Inactive)
            Reporter:
            massimiliano.marcon@mongodb.com Massimiliano Marcon
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: