File tree Expand file tree Collapse file tree 2 files changed +4
-8
lines changed
driver-core/src/main/com/mongodb
driver-legacy/src/main/com/mongodb Expand file tree Collapse file tree 2 files changed +4
-8
lines changed Original file line number Diff line number Diff line change 78
78
* <li>{@code :portX} is optional and defaults to :27017 if not provided.</li>
79
79
* <li>{@code /database} is the name of the database to login to and thus is only relevant if the
80
80
* {@code username:password@} syntax is used. If not specified the "admin" database will be used by default.</li>
81
- * <li>{@code ?options} are connection options. Note that if {@code database} is absent there is still a {@code /}
82
- * required between the last host and the {@code ?} introducing the options. Options are name=value pairs and the pairs
81
+ * <li>{@code ?options} are connection options. Options are name=value pairs and the pairs
83
82
* are separated by "&". For backwards compatibility, ";" is accepted as a separator in addition to "&",
84
83
* but should be considered as deprecated.</li>
85
84
* </ul>
98
97
* seed list used to connect, as if each one were provided as host/port pair in a URI using the normal mongodb protocol.</li>
99
98
* <li>{@code /database} is the name of the database to login to and thus is only relevant if the
100
99
* {@code username:password@} syntax is used. If not specified the "admin" database will be used by default.</li>
101
- * <li>{@code ?options} are connection options. Note that if {@code database} is absent there is still a {@code /}
102
- * required between the last host and the {@code ?} introducing the options. Options are name=value pairs and the pairs
100
+ * <li>{@code ?options} are connection options. Options are name=value pairs and the pairs
103
101
* are separated by "&". For backwards compatibility, ";" is accepted as a separator in addition to "&",
104
102
* but should be considered as deprecated. Additionally with the mongodb+srv protocol, TXT records are looked up from a Domain Name
105
103
* Server for the given host, and the text value of each one is prepended to any options on the URI itself. Because the last specified
Original file line number Diff line number Diff line change 42
42
* <li>{@code :portX} is optional and defaults to :27017 if not provided.</li>
43
43
* <li>{@code /database} is the name of the database to login to and thus is only relevant if the
44
44
* {@code username:password@} syntax is used. If not specified the "admin" database will be used by default.</li>
45
- * <li>{@code ?options} are connection options. Note that if {@code database} is absent there is still a {@code /}
46
- * required between the last host and the {@code ?} introducing the options. Options are name=value pairs and the pairs
45
+ * <li>{@code ?options} are connection options. Options are name=value pairs and the pairs
47
46
* are separated by "&". For backwards compatibility, ";" is accepted as a separator in addition to "&",
48
47
* but should be considered as deprecated.</li>
49
48
* </ul>
62
61
* seed list used to connect, as if each one were provided as host/port pair in a URI using the normal mongodb protocol.</li>
63
62
* <li>{@code /database} is the name of the database to login to and thus is only relevant if the
64
63
* {@code username:password@} syntax is used. If not specified the "admin" database will be used by default.</li>
65
- * <li>{@code ?options} are connection options. Note that if {@code database} is absent there is still a {@code /}
66
- * required between the last host and the {@code ?} introducing the options. Options are name=value pairs and the pairs
64
+ * <li>{@code ?options} are connection options. Options are name=value pairs and the pairs
67
65
* are separated by "&". For backwards compatibility, ";" is accepted as a separator in addition to "&",
68
66
* but should be considered as deprecated. Additionally with the mongodb+srv protocol, TXT records are looked up from a Domain Name
69
67
* Server for the given host, and the text value of each one is prepended to any options on the URI itself. Because the last specified
You can’t perform that action at this time.
0 commit comments