Not working documentation example #6840
Labels
bug/0-unknown
Bug is new, does not have information for reproduction or reproduction could not be confirmed.
documentation
kind/bug
A reported bug.
In client extensions there's a transaction example:
Reference: https://www.prisma.io/docs/orm/prisma-client/client-extensions/query#wrap-a-query-into-a-batch-transaction
But the inner
await prisma.$transaction
is not defined because we are just now defining theprisma
variable (const prisma = new PrismaClient().$extends({ ...
)So this example is broken
The text was updated successfully, but these errors were encountered: