I am getting an error `TypeError: value.map is not...
# orm-help
d
I am getting an error
TypeError: value.map is not a function
when I try to use
updateMany
within an
update
Copy code
prisma.quotation.update({
  where: ...,
  data: {
    ...,
    quotationLines: {
      updateMany: {
        data: items.map(...)
      },
      where: {
        id: ...
      }
    }
  }
})
n
Hey 👋 Can you share your schema file and query so that I could reproduce this?