how to make for loop in FindById and then send response in mongoose?

后端 未结 0 1777
南笙
南笙 2020-12-10 18:42

Actually I want to receive all data after for loop is done in database. In the code, req.body is user\'s object id values. If server receives 3 id values, it will response 3

相关标签:
回答
  • 消灭零回复
提交回复
热议问题