ah nice thanks @seancorfield I missed that
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))
to split the sql generation from execution, but it seems a bit silly sometimes
I tend to have the format
where I run the query. I may separate the generation if it is complex.