How to convert array with only one element to object in mongoose(mongodb)

后端 未结 0 579
遥遥无期
遥遥无期 2021-02-07 21:10

I use KeystoneJs so the grammar is a little different with typical mongoose, I believe you can understand it with ease. My query function shows as below.

CourseRe         


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