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

Error with dbMongo #1

Open
MrTreasure opened this issue Jan 11, 2018 · 1 comment
Open

Error with dbMongo #1

MrTreasure opened this issue Jan 11, 2018 · 1 comment

Comments

@MrTreasure
Copy link

MrTreasure commented Jan 11, 2018

link

  1. 新版配置中,mongodb配置项全部提升至顶级
  2. socketOptions 不再支持
  3. 构造器中如果未指定 db 名称,则默认获取的是一个 mongodb 链接,需要通过 db.db(dbName) 指定一个数据库名称,建议这里加上报错提醒
  4. 新版驱动需要安装 mongodb-core 依赖
@8-shen
Copy link
Contributor

8-shen commented Mar 5, 2018

已经修复了,依赖Mongodb 3.0+

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