📅  最后修改于: 2022-03-11 14:57:02.284000             🧑  作者: Mango
代码示例1
db.getCollection('products').update({},
{$pull: {reviews:
{user: ObjectId("5f6e2e0b70eb0208fc84011a")}}},
{multi: true})