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