Hello, I am using the forest admin with nodejs and nestjs with a postgres db.
I would like to get the current record being updating using the before (or after) update hook.
I could see that I can get all the records in the collection using the context.collection where the collection is the argument of the callback function, but I’m only interested (and required) to get the actual record being updated.
I’ve tried all the methods of the context and none of them seemed to work, any idea on what I should do?