Dev__
04/25/2022, 9:27 AMTypeError: value.map is not a function
when I try to use updateMany
within an update
prisma.quotation.update({
where: ...,
data: {
...,
quotationLines: {
updateMany: {
data: items.map(...)
},
where: {
id: ...
}
}
}
})
Nurul
04/26/2022, 11:35 AM