Elfayer
01/10/2019, 5:11 AMwhere key is always mandatory on mutating many link types? I moved from 1.19 to 1.24, (it didn't work well before), and now I have to mention a where. What if I want all links to get updated?
Like in:
prisma.updateLoan({
where: { id: args.id },
data: {
items: {
// Here update and updateMany require a where
}
}
})
So it's either I call updateLoan and I have to mention a where on loan.items or I call updateManyLoans and I can't even call items inside `data`🤔schickling
01/10/2019, 6:49 PMBiel Simon
01/29/2019, 8:20 AM