3 ms·
I think that he means generating application code from a database schema. A tool like Jooq (https://www.jooq.org/ https://www.jooq.org/). If so, then I agree wi
by rowls66 4y ago
I think that he means generating application code from a database schema. A tool like Jooq (https://www.jooq.org/ https://www.jooq.org/). If so, then I agree with him.
- BoorishBears 4y agoLibraries like Jooq and SQLDelight include what I'm talking about and then build on top of it with codegen which is even nicer since it adds compiler safety But even without codegen you'd still a much nicer interface than manually hacking together strings as the Golang example others have linked shows: https://github.com/Masterminds/squirrel https://github.com/Masterminds/squirrel