阅读背景:

然后链接mongodb / nodejs没有返回填充数组

来源:互联网 

I've been trying to return an array(childz) that takes in results of a looped mongoose query inside chained promises but when I consolelog results it still is an empty array. i did nesting thens before but i thought chaining it is much better but still i dont know how to return these async results properly.I've been trying to return an array(childz) tha




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

分享到: