📜  猫鼬从数组中删除文档 - 无论代码示例

📅  最后修改于: 2022-03-11 14:57:16.260000             🧑  作者: Mango

代码示例3
Favorite.updateOne( {cn: req.params.name}, { $pullAll: {uid: [req.params.deleteUid] } } )