Hi, I'm writing some audit log middleware that use...
# orm-help
m
Hi, I'm writing some audit log middleware that uses a transaction. Is there a way I can either call
next(params)
in the transaction then create my log entry insert? Or is there another way to convert
next(params)
to a proper query that
prisma.$transaction()
can understand?
👀 1
a
Hey Michael, Would you mind sharing some example code so I can get a clearer idea of the question?
v
👋 Hi @Michael were you able to resolve your question or is this still pending? Let us know if you can share an example of the code!