How to add new field in an existing Mongo DB collection document
This sneppet teaches you how to add new field to every existing document in the mongo db collection. You have to use db.collection.update() with $set operator to perform this operation in the same way you used to update existing field… Read More!