Hey guys, I have a question regarding prisma clien...
# orm-help
z
Hey guys, I have a question regarding prisma client
updateMany
. We use it to wrap deletions from two tables into one transaction, we also want to delete the relation between them. We are soft deleting so what we do is actually
update
TableA,
updateMany
TableB, and
disconnect
TableB. It turns out when we have both
disconnect
and
updateMany
in the same
data
object, the
updateMany
will be ignored. It seems there is some internal priorities and the disconnect was executed first? Is it a design choice or is it a bug? Thx!
😧 1
d
This sounds like a bug to me..can you please create an issue for this here: https://github.com/prisma/prisma/issues/new?template=bug_report.md Ideally, with a small reproduction.