How to save document with “id”, not “_id” in Mongodb

后端 未结 0 789
既然无缘
既然无缘 2021-02-02 07:18

Like in the Title is there any way to save my document in database where id would be "id", not "_id" ? I write server in Node.js with mongoose.

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