Small bug when using "returning: false" #14131
Unanswered
Camarade84
asked this question in
Help & Questions
Replies: 1 comment
-
Could you open a new bug report with a SSCCE that reproduces the bug? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
when I try to create a record using the model
this.ModelName.create(creationOptions, {returning: false})
I get an error on the output, the record to the database is successful
TypeError: Cannot read property 'id' of undefined
made changes to the file to fix
/src/dialects/mssql/query.js:181
to
Perhaps there is an easier way to solve this problem?
Beta Was this translation helpful? Give feedback.
All reactions