Hey guys a question. Why prisma client do not supp...
# orm-help
x
Hey guys a question. Why prisma client do not support "updateMany" in unscalar fields?
z
@do4gr is ' allowing nested mutations in updateMany’ still being discussed or tracked somewhere?
d
At the moment there are no active discussions to change that. We think it would be very easy to get into deadlock situations.
z
I see. I’m facing a problem where this feature could be really handy. If it’s a no go, what is an alternative way to make ‘update many relations’ a atomic operation?
d
You could use the raw SQL escape hatch and try to write a raw sql query that does exactly what you want.