Mongo, Node js object _id and id issues

后端 未结 0 707
攒了一身酷
攒了一身酷 2021-01-16 10:23

My Mongo document has _id and id. _id is Mongo Objectid, while id is an integer value. When I loop the values ​​of the collection, when I want to get the id of the element,

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