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

Align db.coll.validate() argument with legacy shell

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 1.0.2
    • Affects Version/s: 1.0.1
    • Component/s: Shell API
    • None
    • 2
    • Not Needed
    • Iteration Hamburg

      The legacy shell does not accept a boolean option, but instead a document with options. The full and repair options are documented, but more options are accepted. We should pass them through 1:1 if an options object is provided.

      Relevant docs:

            Assignee:
            anna.henningsen@mongodb.com Anna Henningsen
            Reporter:
            anna.henningsen@mongodb.com Anna Henningsen
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: