Skip to content

Commit 2a6c530

Browse files
committed
docs: document the fature flag to enable the unified topology
1 parent 7d4c88a commit 2a6c530

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/mongo_client.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,7 @@ const closeOperation = require('./operations/mongo_client_ops').closeOperation;
110110
* @param {boolean} [options.monitorCommands=false] Enable command monitoring for this client
111111
* @param {number} [options.minSize] If present, the connection pool will be initialized with minSize connections, and will never dip below minSize connections
112112
* @param {boolean} [options.useNewUrlParser=false] Determines whether or not to use the new url parser. Enables the new, spec-compliant, url parser shipped in the core driver. This url parser fixes a number of problems with the original parser, and aims to outright replace that parser in the near future.
113+
* @param {boolean} [options.useUnifiedTopology] Enables the new unified topology layer
113114
* @param {MongoClient~connectCallback} [callback] The command result callback
114115
* @return {MongoClient} a MongoClient instance
115116
*/

0 commit comments

Comments
 (0)