You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is no longer any topology type other than the unified topology,
so we default to it in the `connect` operation, and remove all tests
that don't work with it.
* @param {boolean} [options.monitorCommands=false] Enable command monitoring for this client
143
143
* @param {number} [options.minSize] If present, the connection pool will be initialized with minSize connections, and will never dip below minSize connections
144
144
* @param {boolean} [options.useNewUrlParser=true] 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. Defaults to true, and must be explicitly set to false to use the legacy url parser.
145
-
* @param {boolean} [options.useUnifiedTopology] Enables the new unified topology layer
146
145
* @param {AutoEncrypter~AutoEncryptionOptions} [options.autoEncryption] Optionally enable client side auto encryption
147
146
* @param {DriverInfoOptions} [options.driverInfo] Allows a wrapping driver to amend the client metadata generated by the driver to include information about the wrapping driver
148
147
* @param {MongoClient~connectCallback} [callback] The command result callback
'current Server Discovery and Monitoring engine is deprecated, and will be removed in a future version. '+'To use the new Server Discover and Monitoring engine, pass option { useUnifiedTopology: true } to the MongoClient constructor.');
0 commit comments