MongoDB集合返回空对象,为什么? [重复]
此问题已经在这里有了答案:
- How do I return the response from an asynchronous call?36个答案
您的数据库查询是异步的,因此您的函数将在查询完成之前返回用户。
MongoDB集合返回空对象,为什么? [重复]
此问题已经在这里有了答案:
- How do I return the response from an asynchronous call?36个答案
您的数据库查询是异步的,因此您的函数将在查询完成之前返回用户。
与本文相关的文章
评论列表 (0)
- 暂无评论