What problem are you trying to solve?
Hi, i want to write my app backend with prisma 8, i would rather to do in newer version, but if i was trying to do nested transaction i found i cant do like in prisma 7. May I ask you if this is not implemented to do, or if is and i didnt found it please send me link.
Proposed solution
let tmp = await db.transaction(async (tx) => {
const newTst = tx.orm.public.Tst.create({
name: new Date().toISOString()
})
try{
tx.transaction((async (nestedTx) => {
//... work with nested transaction
})
}catch(e){
console.log(e)
}
})
Alternatives considered
No response
Scope and impact
No response
What problem are you trying to solve?
Hi, i want to write my app backend with prisma 8, i would rather to do in newer version, but if i was trying to do nested transaction i found i cant do like in prisma 7. May I ask you if this is not implemented to do, or if is and i didnt found it please send me link.
Proposed solution
Alternatives considered
No response
Scope and impact
No response