Hey folks
Got tired of raw SQL strings in code: CTEs turn into unreadable garbage. Love HoneySQL, but it doesn't fix the size problem.
So I rolled my own defq macro: SQL in .sql files, generates ->query and map->query constructors, still allows hot-reload, etc.
https://gist.github.com/Nozistance/773dbdef57953cd0a9faef86e95c3766
Curious how others approach this — open to advice and better ideas. What do you think?
how does this differ from https://www.hugsql.org/