Uploaded image for project: 'MongoDB Shell'
  1. MongoDB Shell
  2. MONGOSH-1647

Expose ConnectionString class to users

    • Type: Icon: New Feature New Feature
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Shell API
    • None
    • 3
    • Needed

      db.getMongo().getURI() gives users the ability to get the current connection string, and connect() and Mongo() give them the ability to create new connections using them.

      However, they are lacking a way to manipulate them programmatically. We also have this need, so we built the mongodb-connection-string-url package and use it extensively across our products; we should consider exposing it to users so they can also make use of it.

            Assignee:
            Unassigned Unassigned
            Reporter:
            anna.henningsen@mongodb.com Anna Henningsen
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: