mongodb add multiple documents at a time code example
Example: insert property multiple documents mongodb
db.myCollection.update({}, {$set: {"isOpen": false}}, false, true)
db.myCollection.update({}, {$set: {"isOpen": false}}, false, true)