As of today, it's not possible yet, to do the following:
await prisma.$transaction([ prisma.$queryRaw`SELECT 1` ])
This is a feature request to both allow $queryRaw and $executeRaw being executed in a transaction.
If you have this use-case, please let us know in this issue.
As of today, it's not possible yet, to do the following:
This is a feature request to both allow
$queryRawand$executeRawbeing executed in a transaction.If you have this use-case, please let us know in this issue.