only return _id from mongoose.find

后端 未结 0 472
面向向阳花
面向向阳花 2020-12-23 21:28

want to fetch all users but just return list of _ids , checked the saved data in db everything seems good.

this is the model

let UserSchema = new mongo         


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