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

Commit 6addca90 by Piotr Committed by GitHub

docs(hooks.md): fix broken url (#12677)

1 parent 933b3f62
Showing with 2 additions and 3 deletions
...@@ -6,7 +6,7 @@ Hooks (also known as lifecycle events), are functions which are called before an ...@@ -6,7 +6,7 @@ Hooks (also known as lifecycle events), are functions which are called before an
## Available hooks ## Available hooks
Sequelize provides a lot of hooks. The full list can be found in directly in the [source code - lib/hooks.js](https://github.com/sequelize/sequelize/blob/master/lib/hooks.js#L7). Sequelize provides a lot of hooks. The full list can be found in directly in the [source code - lib/hooks.js](https://github.com/sequelize/sequelize/blob/v6/lib/hooks.js#L7).
## Hooks firing order ## Hooks firing order
...@@ -382,4 +382,4 @@ It is very important to recognize that sequelize may make use of transactions in ...@@ -382,4 +382,4 @@ It is very important to recognize that sequelize may make use of transactions in
* If a transaction was used, then `{ transaction: options.transaction }` will ensure it is used again; * If a transaction was used, then `{ transaction: options.transaction }` will ensure it is used again;
* Otherwise, `{ transaction: options.transaction }` will be equivalent to `{ transaction: undefined }`, which won't use a transaction (which is ok). * Otherwise, `{ transaction: options.transaction }` will be equivalent to `{ transaction: undefined }`, which won't use a transaction (which is ok).
This way your hooks will always behave correctly. This way your hooks will always behave correctly.
\ No newline at end of file
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!