Hi,
I am developing a plugin and I need to modify some of the queries before I send them to the db. I have tried to use db subscriptions class but it is not enough for me. I need to modify the query builder class. Right now I am patching this class which works but I need to find a cleaner way to do it. Is there any way to replace this class in the bootstrap or register hooks? Any suggestions help me a lot.
Thanks!