Skip to content

Commit dbccb86

Browse files
committedAug 4, 2018
add useNewUrlParser on validOptionNames
1 parent b79e263 commit dbccb86

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed
 

‎lib/mongodb.js

+1
Original file line numberDiff line numberDiff line change
@@ -221,6 +221,7 @@ MongoDB.prototype.connect = function(callback) {
221221
'numberOfRetries',
222222
'auto_reconnect',
223223
'minSize',
224+
'useNewUrlParser',
224225
// Ignored options
225226
'native_parser',
226227
// Legacy options

0 commit comments

Comments
 (0)
Please sign in to comment.