Supporting db.getReplicationInfo() as a command

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Won't Fix
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: API
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      With eval being deprecated and to be removed, using db.eval("db.getReplicationInfo()") will fail.
      Supporting getReplicationInfo as a db.command (or db.adminCommand) would be beneficial instead of needing to basically rewrite the current function for each project.

              Assignee:
              Bernie Hackett
              Reporter:
              Thomas Sjögren
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: