阅读背景:

使用toArray检索数据以便稍后在我的代码中使用

来源:互联网 

Background:

I'm trying to organize my code nicely & reuse it later, obviously i have no idea how! so i started experimenting with MongoClient & module.exports, I had no luck so i started adding mongoskin, then i realized node is an asynchronous programming language and maybe that's why i cant see the result in the console, so i got into promises and q, that didn't workout well since i couldn't get it to work right. then I found out there is something out there called winston this dude is suppose to help me log things out asynchronously, but it didnt.I'm trying to organize my code ni




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

分享到: