We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 19bdf64 commit 38db069Copy full SHA for 38db069
source/fundamentals/connection/mongoclientsettings.txt
@@ -270,10 +270,11 @@ settings to modify the driver's behavior:
270
| For example:
271
272
.. code-block:: java
273
- :emphasize-lines: 3
274
- MongoClient mongoClient =
275
- MongoClients.create(MongoClientSettings.builder()
276
- .applyConnectionString(new ConnectionString("mongodb+srv://host1.acme.com")))
+ :emphasize-lines: 3
+
+ MongoClient mongoClient =
+ MongoClients.create(MongoClientSettings.builder()
277
+ .applyConnectionString(new ConnectionString("mongodb+srv://host1.acme.com")))
278
279
* - ``srvMaxHosts()``
280
- | Sets the maximum number of hosts the driver can connect to when using
0 commit comments