We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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/4.x/docs/connections.html#use-mongo-client
open()
openUri()
useMongoClient
connect()
createConnection()
The text was updated successfully, but these errors were encountered:
你可以修改数据库链接代码,修改成对应版本的连接方式,我的那个应该是比较旧的
Sorry, something went wrong.
No branches or pull requests
DeprecationWarning:
open()
is deprecated in mongoose >= 4.11.0, useopenUri()
instead, or set theuseMongoClient
option if usingconnect()
orcreateConnection()
. See http://mongoosejs.com/docs/4.x/docs/connections.html#use-mongo-clientThe text was updated successfully, but these errors were encountered: