不要怂,就是干,撸起袖子干!

Commit e1b5ab5d by Cristi Scheye Committed by Jan Aagaard Meier

[ci skip] 📝 update hooks doc (#5849)

No instances in params for bulk commands; see https://github.com/sequelize/sequelize/blob/master/lib/hooks.js#L58
1 parent 278b517d
Showing with 4 additions and 4 deletions
...@@ -7,8 +7,8 @@ For a full list of hooks, see [Hooks API](/api/hooks). ...@@ -7,8 +7,8 @@ For a full list of hooks, see [Hooks API](/api/hooks).
``` ```
(1) (1)
beforeBulkCreate(instances, options, fn) beforeBulkCreate(instances, options, fn)
beforeBulkDestroy(instances, options, fn) beforeBulkDestroy(options, fn)
beforeBulkUpdate(instances, options, fn) beforeBulkUpdate(options, fn)
(2) (2)
beforeValidate(instance, options, fn) beforeValidate(instance, options, fn)
(-) (-)
...@@ -31,8 +31,8 @@ For a full list of hooks, see [Hooks API](/api/hooks). ...@@ -31,8 +31,8 @@ For a full list of hooks, see [Hooks API](/api/hooks).
afterUpdate(instance, options, fn) afterUpdate(instance, options, fn)
(6) (6)
afterBulkCreate(instances, options, fn) afterBulkCreate(instances, options, fn)
afterBulkDestroy(instances, options, fn) afterBulkDestroy(options, fn)
afterBulkUpdate(instances, options, fn) afterBulkUpdate(options, fn)
``` ```
## Declaring Hooks ## Declaring Hooks
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!