How to list only matched subdocuments in Mongoose

后端 未结 0 820
日久生厌
日久生厌 2021-02-04 03:26

I\'m new in mongoose. I tried many queries but couldn\'t get correct result. My schema looks like this:

{
 course_name: "Test 1",
 students: [
  {name:          


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