摘要: 如下 db.yourcollection.update({ "需要删除的字段": { "$exists": true } }, { "$unset": { "需要删除的字段":null } }, { multi: true }); 阅读全文
posted @ 2021-05-27 20:27 牛奔 阅读(565) 评论(0) 推荐(0) 编辑