user.populate('Comment') vs Comment.find(userId:userId)

后端 未结 0 1239
梦毁少年i
梦毁少年i 2020-11-27 10:15

what are the advantages of using populate to retrieve comments made by a user over retrieve comments by user id.

From my point of view the result would be the same, w

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