Answer Overflow Logo
Change Theme
Search Answer Overflow
GitHub
Add Your Server
Login
Home
Popular
Topics
Gaming
Programming
ladal1
Posts
Comments
K
Kysely
•
Created by ladal1 on 4/13/2023 in
#help
Rollback transaction
Awesome, thanks for the reply 🙂 We really like Kysely here and really like the direction you're taking it so looking forward to it
8 replies
K
Kysely
•
Created by ladal1 on 4/13/2023 in
#help
Rollback transaction
Tried to change the solution to yours, personally I still feel like the interface is missing, as ending the transactions by throwing an exception (which has to be caught as it's rethrown) is not the best solution for query builder.
8 replies
K
Kysely
•
Created by ladal1 on 4/13/2023 in
#help
Rollback transaction
await
sql
<
void
>
`rollback`
.
execute
(trx)
await
sql
<
void
>
`rollback`
.
execute
(trx)
Okay I was doing raw sql badly, this does work at least
8 replies