ladal1
ladal1
KKysely
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
KKysely
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
KKysely
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