Why there is two property named _id and id and only one is visible in object return by mongoose?

前端 未结 0 1779
我寻月下人不归
我寻月下人不归 2020-12-02 06:40

When I print the object returned after querying in MongoDB using mongoose I get an object containing one of the keys as \'_id\'. But when I try to print the object\'s proper

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