mongoDB, I can use the auto generated ObjectId in another field when doing an insertOne?

前端 未结 0 1224
伪装坚强ぢ
伪装坚强ぢ 2020-12-19 03:02

When inserting a new document, mongoDB automatically generates the "_id" with an ObjectId. I ask if it is possible that when inserting, it can take the value that

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