Jak zaktualizować kolekcję MongoDB za pomocą nowego pola
db.collection.updateMany({}, {$set: {"fieldName": ""}})
Theophilus Boakye
db.collection.updateMany({}, {$set: {"fieldName": ""}})
db.collection.updateMany({}, {$set: {"fieldName": ""}})
db.collection.updateMany({}, {$set: {"fieldName": ""}})
db.collection.updateMany({}, {$set: {"fieldName": ""}})
db.collection.updateMany({}, {$set: {"fieldName": ""}})
db.collection.updateMany({}, {$set: {"fieldName": ""}})