Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-4176

Add more intuitive object argument to shell's update method

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Trivial - P5 Trivial - P5
    • 2.1.0
    • Affects Version/s: None
    • Component/s: Shell
    • Labels:
      None

      Currently, db.coll.update(...) utilizes two boolean values to represent upsert and multiupdate. It would be more intuitive and memorable (as well as backwards compatible) if one could pass an object mapping "multi" and "upsert", instead.

            Assignee:
            brandon Brandon Diamond
            Reporter:
            brandon Brandon Diamond
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: