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