mongo add field to object code example Example: add property to all documents mongo db.myCollection.update({}, {$set: {"isOpen": false}}, false, true)