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

Commit 2343226d by Michael Gauthier Committed by Sushant

docs(transactions): correctly follow family structure from tv show The Simpsons (#8587)

1 parent f05a8f2b
Showing with 1 additions and 1 deletions
...@@ -144,7 +144,7 @@ Unmanaged transactions force you to manually rollback or commit the transaction. ...@@ -144,7 +144,7 @@ Unmanaged transactions force you to manually rollback or commit the transaction.
```js ```js
return sequelize.transaction().then(function (t) { return sequelize.transaction().then(function (t) {
return User.create({ return User.create({
firstName: 'Homer', firstName: 'Bart',
lastName: 'Simpson' lastName: 'Simpson'
}, {transaction: t}).then(function (user) { }, {transaction: t}).then(function (user) {
return user.addSibling({ return user.addSibling({
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!