阅读背景:

Node Express MongoDB Native驱动程序 - 在哪里打开数据库连接?

来源:互联网 

I want to open and initialise the DB via Node-Mongo-Native-Driver once in the app.js file and then leave it open and do reads in the routes. I put following code in the app.js and wrapping the app.gets in order to made them available when the DB is opened:I want to open and initialise the DB via Node-M




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: