Nothing.
03/05/2021, 10:04 AMprisma.tablename.updateMany({
where: { // some id },
data: { emails: {
set: [{ id: '<mailto:abdul@email.com|abdul@email.com>' }]
} }
})
I was getting an error that "emails" field doesn't exist. But it does exist at the prisma level. It also work with 'create' and 'connect' when using the create method.Ryan
03/05/2021, 10:07 AMupdateMany
are not supported with Prisma. I would suggest following this request for more info.
A workaround would be to use update
for each of the items that you want to update.Nothing.
03/05/2021, 10:14 AMNothing.
03/05/2021, 10:14 AM