Uploaded image for project: 'Python Driver'
  1. Python Driver
  2. PYTHON-1717

Supporting db.getReplicationInfo() as a command

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Won't Fix
    • Icon: Major - P3 Major - P3
    • None
    • None
    • API
    • None

    Description

      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.

      Attachments

        Activity

          People

            bernie@mongodb.com Bernie Hackett
            konstruktoid Thomas Sjögren
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: