how to use updatemany with mongoose code example
Example: mongoose updatemany example
User.update({"created": false}, {"$set":{"created": true}}, {"multi": true}, (err, writeResult) => {});
User.update({"created": false}, {"$set":{"created": true}}, {"multi": true}, (err, writeResult) => {});