阅读背景:

返回从循环中调用的数据库查询中检索的数据的问题

来源:互联网 

I making multiple mongoDB queries in loop. and want to send the all results as one data array.But when I simple use the return for send the data it simply return undefined and do not wait for results of all DB request. I also tried to use q.moulde but same issue.I making multiple mongoDB queries in loop. and




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

分享到: