操作清单

  1. (1)
  2. beforeBulkCreate(instances, options)
  3. beforeBulkDestroy(options)
  4. beforeBulkUpdate(options)
  5. (2)
  6. beforeValidate(instance, options)
  7. (-)
  8. validate
  9. (3)
  10. afterValidate(instance, options)
  11. - or -
  12. validationFailed(instance, options, error)
  13. (4)
  14. beforeCreate(instance, options)
  15. beforeDestroy(instance, options)
  16. beforeUpdate(instance, options)
  17. beforeSave(instance, options)
  18. beforeUpsert(values, options)
  19. (-)
  20. create
  21. destroy
  22. update
  23. (5)
  24. afterCreate(instance, options)
  25. afterDestroy(instance, options)
  26. afterUpdate(instance, options)
  27. afterSave(instance, options)
  28. afterUpsert(created, options)
  29. (6)
  30. afterBulkCreate(instances, options)
  31. afterBulkDestroy(options)
  32. afterBulkUpdate(options)