There is a 'before' function. There could be an 'after' function, triggered however it is a success or a fail.
I would typically need it when I have to dispatch an event related to the fact that the query has been executed (however it succeeds or fails), like decrementing the count of pending queries. The 'before' function was very useful to increment this count.
There is a 'before' function. There could be an 'after' function, triggered however it is a success or a fail.
I would typically need it when I have to dispatch an event related to the fact that the query has been executed (however it succeeds or fails), like decrementing the count of pending queries. The 'before' function was very useful to increment this count.