Closed jpx closed 7 years ago
Mongoose passes connection.options.db to the underlying driver instance (see http://mongoosejs.com/docs/connections.html). The fix consists in reading dbpath from connection.options.db instead of connection.options.
connection.options.db
dbpath
connection.options
Mongoose passes
connection.options.db
to the underlying driver instance (see http://mongoosejs.com/docs/connections.html). The fix consists in readingdbpath
fromconnection.options.db
instead ofconnection.options
.