Is there anyway we can add middleware to a table to execute before update or insert?
Similar to check constraints, I'd like to be able to execute a function before a record is updated or inserted into a specific table. Ideally these functions would be defined on the drizzle db schema? Not sure if this is possible?
0 Replies