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

[PATCH] Improve database handling if database is supplied on mongodb:// uri

    • Type: Icon: Improvement Improvement
    • Resolution: Won't Fix
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Environment:
      Everywhere

      The problem right now is, it makes no sense to apply an database in the mongodb:// uri because the `Connection` does not handle it properly. It authenticates but there's no way to get the right database instance out of it.

      I just created a patch that improves the handling without breaking anything, see the attachment. I'd be happy if this can be applied as it'd ease my live

        1. better_db_integration.diff
          3 kB
          Christopher Grebs
        2. better_db_integration.diff
          2 kB
          Christopher Grebs
        3. better_db_integration.diff
          2 kB
          Christopher Grebs

            Assignee:
            bernie@mongodb.com Bernie Hackett
            Reporter:
            entequak Christopher Grebs
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: