Hi all - I am wanting to update an entity that has...
# orm-help
m
Hi all - I am wanting to update an entity that has a one-to-many relationship with another. The UI sends me an array of objects, I want those objects inserted and any previous objects related to that entity removed. What is the correct way of doing this with Prisma? Disconnect?
r
@Moh 👋 set should work for you in this case.
m
Just stumbled across that, thanks @Ryan 🙂
👍 1