Is there a way to call a prepared statement from within a transaction?

I have a prepared statement called p1. Is it possible to call it from within a transaction? Something like
await db.transaction(async (tx) => {
p1(tx).execute()
})
await db.transaction(async (tx) => {
p1(tx).execute()
})
1 Reply
Noahh
Noahh15mo ago
Not yet unfortunately, there is an open feature request for it though
Want results from more Discord servers?
Add your server