How to save / update multiple documents in mongoose
You can use update query with multi:true which update all documents in your db.please find below reference code,
model.update({ "_id": id }, { $set: { "Key": "Value" } }, { multi: true }, function (err, records) { if (err || !records) { return res.json({ status: 500, message: "Unable to update documents." }); } else { return res.json({ status: 200, message: "success" }); } });