### What needs to be done? Based on my research it seems that JOOQ is a really good example of how to build sql queries through code. https://www.jooq.org/ Since this is going to be mostly mapping AST to query builder elements most of that should be doable through coding agents.