Update Parent Model's updateAt
Whats the best way to handle updating the Parent Models (one)
updateAt field when the Child Model (many) has a CRUD operation performed on it.
Is there any way to handle this without manually running another mutation?3 Replies
You decided to hold for human wisdom. We'll chime in soon! Meanwhile,
#ask-ai is there if you need a quick second opinion.I've created a Prisma Client Extension to handle this, is this the best approach?
Yes, in my opinion creating client extension is the best approach