-
-
Notifications
You must be signed in to change notification settings - Fork 973
fix: inplace import abort #1278
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Deployment Status: ✅ Success |
3079522
to
c50b811
Compare
Deployment Status: ✅ Success |
Pull Request Test Coverage Report for Build 13132259097Details
💛 - Coveralls |
c50b811
to
0868d84
Compare
if (this.cls.get('tx.id')) { | ||
await batchOperators(); | ||
} else { | ||
this.prismaService.$transaction(async () => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
missing await here
|
||
// 3.update data | ||
await wrapWithValidationErrorHandler(() => prisma.$executeRawUnsafe(updateRecordSql)); | ||
const batchOperators = async () => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why do this
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
prisma.client could not execute these sqls in a transaction
0868d84
to
a82d120
Compare
Deployment Status: ✅ Success |
1 similar comment
Deployment Status: ✅ Success |
Deployment Status: ❌ Failed |
🧹 Preview Environment Cleanup
|
No description provided.