Is there any way to rollback model after model.save or model.destroyRecord failed
try { await testModel.save(); } catch (error) { // How to rollback testModel here? }
Aucun commentaire:
Enregistrer un commentaire