Fork me on GitHub
#sql
<
2017-08-02
>
allandaviesza10:08:14

Hey everyone, I've been using Korma and quite like it, but I am a little concerned about it's lack of maintenance, does anyone have some advice on a good library I can use to talk to MySQL? Should I perhaps just try use clojure.java.jdbc directly?

val_waeselynck12:08:47

Maybe honeysql?

donaldball13:08:40

I think there are two dominant schools of thought these days. One is to use honeysql to work with sql queries and statements as data structures, the other is to use hugsql or yesql to work with a named registry of largely static sql queries and statements

seancorfield16:08:10

At World Singles, we do all our basic SQL operations directly with clojure.java.jdbc and then we use HoneySQL for complex, reporting queries, where we need to dynamically compose a lot of query fragments.

seancorfield16:08:03

BTW, I maintain clojure.java.jdbc so I'm happy to answer any questions about it!