updateMany example mongoose
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) => {});