Student.update({ 'age': 22 }, { '$inc': { 'age': 1 //相当于22+1 } }, { multi: true, //多条 upsert: true // 如果文档里没有则新建 }, (err) => { //do something });