> > tldr
> Check out how Django dealt with this. And SQLAlchemy
> Do their solutions satisfy

The thing I'm missing in those solutions is how it isn't chainable. If I would want something that uses access logging (like what Django and SQLAlchemy are doing), and some 'mixin' for that variable to prevent cycle protection, then that would be hard. The only other way is using function composition, and that can lead to statements that are too long to read comfortably.