File tree Expand file tree Collapse file tree 1 file changed +19
-0
lines changed Expand file tree Collapse file tree 1 file changed +19
-0
lines changed Original file line number Diff line number Diff line change @@ -164,6 +164,25 @@ Version 5.0 Breaking Changes
164
164
=======
165
165
>>>>>>> 0b9ba11 (VK review)
166
166
167
+ For example, the following two code samples return the value ``ClusterConnectionMode.MULTIPLE``
168
+
169
+ .. code-block:: java
170
+
171
+ ClusterSettings.builder()
172
+ .applyConnectionString(new ConnectionString("mongodb://127.0.0.1:27017/?replicaSet=replset"))
173
+ .build()
174
+ .getMode()
175
+
176
+ .. code-block:: java
177
+
178
+ ClusterSettings.builder()
179
+ .hosts(Collections.singletonList(
180
+ new ServerAddress("127.0.0.1", 27017)
181
+ ))
182
+ .requiredReplicaSetName("replset")
183
+ .build()
184
+ .getMode()
185
+
167
186
- This driver changes how ``BsonDecimal128`` values respond to method calls, by
168
187
responding in the same way as ``Decimal128`` values. In particular,
169
188
``BsonDecimal128.isNumber()`` now returns ``true``, and
You can’t perform that action at this time.
0 commit comments