Get block id and _id of inserted record

后端 未结 0 1784
终归单人心
终归单人心 2020-11-27 04:12

I try to store the new record in MongoDB this way

db.products.insert( { item: "card", qty: 15 } )

however i need to get the ObjectI

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