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 577890a commit a54e603Copy full SHA for a54e603
source/fundamentals/connection/mongoclientsettings.txt
@@ -266,10 +266,9 @@ settings to modify the driver's behavior:
266
TXT records associated with the host. If you want to enable the processing of TXT records,
267
you must specify the SRV host in the connection string
268
using the ``applyConnectionString()`` method.
269
-
270
- | .. code-block:: java
271
- :emphasize-lines: 3
272
+ |
+ .. code-block:: java
+ :emphasize-lines: 3
273
MongoClient mongoClient = MongoClients.create(
274
MongoClientSettings.builder()
275
.applyConnectionString(new ConnectionString("mongodb+srv://host1.acme.com")))
0 commit comments