You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A recommendation in a way that doesn't use deprecated tech
Actual content
Middleware recommended and linked to
In Prisma Client, you can achieve similar results with TypeScript at the client level instead of SQL by using middleware. Middleware allows you to perform an action before and after every query (e.g., turn a delete query into a "soft" delete which toggles a record's visibility instead).
The text was updated successfully, but these errors were encountered:
Page affected
https://www.prisma.io/dataguide/datamodeling/functional-units#triggers-and-consequences
https://github.com/prisma/dataguide/blob/main/content/02-datamodeling/08-functional-units.mdx#L182
Expected content
A recommendation in a way that doesn't use deprecated tech
Actual content
Middleware recommended and linked to
In Prisma Client, you can achieve similar results with TypeScript at the client level instead of SQL by using middleware. Middleware allows you to perform an action before and after every query (e.g., turn a delete query into a "soft" delete which toggles a record's visibility instead).
The text was updated successfully, but these errors were encountered: