MongoDB mengubah nama kunci
db.students.updateMany( {}, { $rename: { "nmae": "name" } } )
Funny Fox
db.students.updateMany( {}, { $rename: { "nmae": "name" } } )
// false,true is set for =>{upsert:false, multi:true}
db.foo.update({}, {$rename:{"name.additional":"name.last"}}, false, true);