File tree Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -124,6 +124,17 @@ following behavior:
124
124
125
125
.. sharedinclude:: dbx/docker-replica-set.rst
126
126
127
+ DNS Service Discovery
128
+ ---------------------
129
+
130
+ .. sharedinclude:: dbx/srv-polling.rst
131
+
132
+ .. replacement:: srv-uri
133
+
134
+ .. code-block:: go
135
+
136
+ uri := "mongodb+srv://<hostname>/"
137
+
127
138
API Documentation
128
139
-----------------
129
140
@@ -134,4 +145,3 @@ To learn more about connecting to different MongoDB instances with a
134
145
- `options <https://mongodb.github.io/node-mongodb-native/6.17/classes/MongoClient.html#options>`__
135
146
- `connect <https://mongodb.github.io/node-mongodb-native/6.17/classes/MongoClient.html#connect>`__
136
147
- `readPreference <https://mongodb.github.io/node-mongodb-native/6.17/classes/MongoClient.html#readPreference>`__
137
-
You can’t perform that action at this time.
0 commit comments