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

Commit d00f75df by Jon Koon Committed by Sushant

docs: incorrect transaction level in docs, v4 use db default (#8020)

1 parent dc2fcdcf
Showing with 1 additions and 1 deletions
...@@ -124,7 +124,7 @@ Sequelize.Transaction.ISOLATION_LEVELS.REPEATABLE_READ // "REPEATABLE READ" ...@@ -124,7 +124,7 @@ Sequelize.Transaction.ISOLATION_LEVELS.REPEATABLE_READ // "REPEATABLE READ"
Sequelize.Transaction.ISOLATION_LEVELS.SERIALIZABLE // "SERIALIZABLE" Sequelize.Transaction.ISOLATION_LEVELS.SERIALIZABLE // "SERIALIZABLE"
``` ```
By default, sequelize uses "REPEATABLE READ". If you want to use a different isolation level, pass in the desired level as the first argument: By default, sequelize uses the isolation level of the database. If you want to use a different isolation level, pass in the desired level as the first argument:
```js ```js
return sequelize.transaction({ return sequelize.transaction({
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!