how to change the property name in mongodb code example Example: mongodb change key name db.students.updateMany( {}, { $rename: { "nmae": "name" } } )