How can I get all properties of a mongoDB collection as strings?

前端 未结 0 1126
生来不讨喜
生来不讨喜 2020-12-18 17:54

I am using mongoose to connect to mongodb. For a collection I would like to get all it\'s properties as a string array. Right now, I am iterating over all the results and I

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