Uploaded image for project: 'Drivers'
  1. Drivers
  2. DRIVERS-616

Document connection string and URI option precedence rules

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Done
    • Icon: Minor - P4 Minor - P4
    • None
    • None
    • None
    • $i18n.getText("admin.common.words.hide")
      Key Status/Resolution FixVersion
      SPEC-1212 Fixed
      RUBY-1790 Fixed 2.10.0.rc0, 2.9.0.rc1
      PERL-1085 Fixed 2.2.0
      PYTHON-1803 Fixed 3.9
      CDRIVER-3076 Works as Designed
      CSHARP-2578 Works as Designed
      MOTOR-328 Won't Fix
      PHPC-1358 Works as Designed
      GODRIVER-942 Works as Designed
      CXX-1759 Fixed 3.5.0
      SWIFT-561 Fixed 0.2.0
      JAVA-3729 Works as Designed
      RUST-423 Won't Fix
      $i18n.getText("admin.common.words.show")
      #scriptField, #scriptField *{ border: 1px solid black; } #scriptField{ border-collapse: collapse; } #scriptField td { text-align: center; /* Center-align text in table cells */ } #scriptField td.key { text-align: left; /* Left-align text in the Key column */ } #scriptField a { text-decoration: none; /* Remove underlines from links */ border: none; /* Remove border from links */ } /* Add green background color to cells with FixVersion */ #scriptField td.hasFixVersion { background-color: #00FF00; /* Green color code */ } /* Center-align the first row headers */ #scriptField th { text-align: center; } Key Status/Resolution FixVersion SPEC-1212 Fixed RUBY-1790 Fixed 2.10.0.rc0, 2.9.0.rc1 PERL-1085 Fixed 2.2.0 PYTHON-1803 Fixed 3.9 CDRIVER-3076 Works as Designed CSHARP-2578 Works as Designed MOTOR-328 Won't Fix PHPC-1358 Works as Designed GODRIVER-942 Works as Designed CXX-1759 Fixed 3.5.0 SWIFT-561 Fixed 0.2.0 JAVA-3729 Works as Designed RUST-423 Won't Fix

    Description

      Relevant change to connection string spec:

      If a driver allows URI options to be specified outside of the connection string (e.g. dictionary parameter to the MongoClient constructor) it MUST document the precedence rules between all such mechanisms. For instance, a driver MAY allow a value for option foo in a dictionary parameter to override the value of foo in the connection string (or vice versa) so long as that behavior is documented.

      Attachments

        Activity

          People

            Unassigned Unassigned
            jmikola@mongodb.com Jeremy Mikola
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: