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

    XMLWordPrintable

    Details

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

      Description

      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 }

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: