Answers for "rename a field in collection in mongodb"

3

mongodb change key name

db.students.updateMany( {}, { $rename: { "nmae": "name" } } )
Posted by: Guest on July-10-2020

Code answers related to "rename a field in collection in mongodb"

Code answers related to "Javascript"

Browse Popular Code Answers by Language