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

Add a command to confirm/deny if a specific command is supported in the current version of mongo

    • Type: Icon: New Feature New Feature
    • Resolution: Won't Fix
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None

      Commands are added/removed from mongo. A nice feature would be the ability to test if a command is supported by the current version of mongo. Currently, if you issue an unsupported command to mongo it fails and then writes something to the log.

      E.g.

      db.adminCommand({hasCommand:"getLog"})
      

      This would return something like:

      { "getLog" : 1|0, "ok" : 1 }
      

            Assignee:
            Unassigned Unassigned
            Reporter:
            rn@deftlabs.com Ryan Nitz
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: