If I have an array of unique names, how can I update the elements of those names using Prisma in Next.js? For example:
const arr=['Joe', 'Mark'];
const update=await prisma.user.updateMany({
where: {
name: //What should be used to update both Joe and Mark?
},
data: {
notifications: {push: "Hello"}
}
});
I am utilizing PSQL and unsure if that makes a difference.