Skip to content
New issue

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

大佬是不是我的mongodb版本太新了? #26

Open
mikiXuan opened this issue Mar 13, 2020 · 1 comment
Open

大佬是不是我的mongodb版本太新了? #26

mikiXuan opened this issue Mar 13, 2020 · 1 comment

Comments

@mikiXuan
Copy link

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

@zhengguorong
Copy link
Owner

你可以修改数据库链接代码,修改成对应版本的连接方式,我的那个应该是比较旧的

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants