documentFoo.save(function(err, documentFoo, [isSaveSuccessful]){ if(err){ return next(err); } if (isSaveSuccessful === 1){ // documentFoo has been saved correctly // do stuff with the saved documentFoo } }