@BenMorel just for your interest. I pushed my old work to my DBAL repo fork. You can have a look at that if you want and maybe take over the one or other idea from it. It's not finished and just shows a few concepts and ideas. https://github.com/deeky666/dbal/commit/d228cd632173190ca062cf88aec6f5c6482fa5f0