Please, does Exposed provide any mechanism how to "intercept" query executions before I call database? My use-case is to store all database operations that were executed. We have Exposed code spreaded on multiple places in code, so it would be perfect to handle this functionality on one place instead of writing some methods to all
blocks. It is possible? Thank you!
I found that I can extend my custom class from
, but I need to register it in each
block. This does not work when I use nested transaction blocks..