Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
public
/
sequelize
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
不要怂,就是干,撸起袖子干!
Commit 2343226d
authored
Nov 04, 2017
by
Michael Gauthier
Committed by
Sushant
Nov 04, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
docs(transactions): correctly follow family structure from tv show The Simpsons (#8587)
1 parent
f05a8f2b
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
docs/transactions.md
docs/transactions.md
View file @
2343226
...
@@ -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
({
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment