Open zhuoru-li opened 6 years ago
DeprecationWarning: open() is deprecated in mongoose >= 4.11.0, use openUri() instead, or set the useMongoClient option if using connect() or createConnection(). See http://mongoosejs.com/docs/connections.html#use-mongo-client
open()
openUri()
useMongoClient
connect()
createConnection()
Do not know how to fix this problem
Yes, got this too
I don't think this affect that much, main functionality still work
DeprecationWarning:
open()
is deprecated in mongoose >= 4.11.0, useopenUri()
instead, or set theuseMongoClient
option if usingconnect()
orcreateConnection()
. See http://mongoosejs.com/docs/connections.html#use-mongo-clientDo not know how to fix this problem