Brick
Brick
> Can we merge this if the changes are accurate? I think so
same issue here
`mongo.db` 即可使用所有官方 API。这个就是原始的 mongodb 对象。
> this is my code and error > >  > >  > > 错误提示很清楚,`this.app.mongo` undefined。检查插件是否成功启用(可以检查 log)并逐步打印 `mongo` 和 `app` 对象排查。
> 插件可以正常使用,find和updateOne都正常 在同一个环境内吗? 连续打印三行 ``` console.log(this.app.mongo); console.log(this.app.mongo.find); console.log(this.app.mongo.insertOne); ```
Same issue here. @iveney 's solution works.