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
不要怂,就是干,撸起袖子干!
You need to sign in or sign up before continuing.
Commit db20040c
authored
Apr 24, 2020
by
Simon Schick
Committed by
GitHub
Apr 25, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix(model): fix unchained promise in association logic in bulkCreate (#12163)
1 parent
69c269b5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
lib/model.js
lib/model.js
View file @
db20040
...
...
@@ -2642,7 +2642,7 @@ class Model {
const
associationInstance
=
createdAssociationInstances
[
idx
];
const
instance
=
associationInstanceIndexToInstanceMap
[
idx
];
instance
[
include
.
association
.
accessors
.
set
](
associationInstance
,
{
save
:
false
,
logging
:
options
.
logging
});
await
include
.
association
.
set
(
instance
,
associationInstance
,
{
save
:
false
,
logging
:
options
.
logging
});
}
}));
}
...
...
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