Implement Driver CRUD API Spec for .explain()

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Won't Fix
    • Priority: Major - P3
    • None
    • Affects Version/s: 3.2.0-rc1
    • Component/s: Shell
    • Server Tooling & Methods
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      With the Driver CRUD API spec implemented, we can now use the following command from the shell:

      > db.test.updateMany( { "name" : "jason" }, { $set : { "name" : "json" } } )
      

      However, we must use the old method for explaining the update:

      > db.test.explain().update( { "name" : "jason" }, { $set : { "name" : "json" } }, { "multi" : true } )
      

      .explain() should implement the Driver CRUD API for consistency

            Assignee:
            Backlog - Server Tooling and Methods (STM) (Inactive)
            Reporter:
            Jason Zucchetto (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved: