Argument for db.stats() should be optional

XMLWordPrintableJSON

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

      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 (Inactive)
              Reporter:
              Massimiliano Marcon
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: