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

replace all uses of db.$cmd.findOne() with db.runCommand in shell js and jstests

    • Type: Icon: Task Task
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 3.1.4
    • Affects Version/s: None
    • Component/s: JavaScript
    • None
    • Fully Compatible
    • Platform 4 06/05/15

      runCommand will either use OP_COMMAND or OP_QUERY depending on how the connection is configured. As such, everything should go through runCommand rather than calling find directly.

            Assignee:
            adam.midvidy Adam Midvidy
            Reporter:
            adam.midvidy Adam Midvidy
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: