Am I understanding correctly you cannot `update` b...
# orm-help
d
Am I understanding correctly you cannot
update
by non-unique — or multiple-value — filters? eg.
Copy code
prisma.post.update({ 
  where: { id: { in: somePostIds } }, 
  data: { status: Status.Published },
})
It seems like this should be supported.
j
you can just use
updateMany
for this to use non-unqiue filters 😉
r
@defrex 👋 For non-unique values, you would need to use an
updateMany
.
d
Oh great! Missed that one, thanks.
👍 1