honeysql

Discussion of https://github.com/seancorfield/honeysql :slightly_smiling_face:
2017-11-17T10:12:49.000341Z

ah nice thanks @seancorfield I missed that

2017-11-17T10:14:34.000040Z

by the way how do you guys write functions that execute queries? I'm doing something like

(def my-query [] (-> (h/select ..) (sql/format))
;; and to run it with
(def my-query! [] (jdbc/query (my-query))

2017-11-17T10:14:50.000217Z

to split the sql generation from execution, but it seems a bit silly sometimes

seancorfield 2017-11-17T15:56:15.000389Z

I tend to have the format where I run the query. I may separate the generation if it is complex.