update multiple objects by id mongoose db code example Example: mongoose find multiple and update Model.updateMany({}, {})