📅  最后修改于: 2022-03-11 15:02:19.712000             🧑  作者: Mango
// false,true is set for =>{upsert:false, multi:true}
db.foo.update({}, {$rename:{"name.additional":"name.last"}}, false, true);