How can I delete id and name from a array of object without deleting the entire object and not leaving an empty array

后端 未结 0 1389
醉酒成梦
醉酒成梦 2020-12-02 01:53

So below I have a collection in MongoDB and I want to delete id: pa3338537. How can delete just that ID and matching name (and not leave an empty array)?

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