hugsql

kaosko 2018-06-29T01:31:45.000103Z

argh... I need to make a union of (select) snippets and I can't figure how to do that with hugsql generically. hugsql seems to always want to join the lists with a predetermined separator, such as comma. am I missing something?

kaosko 2018-06-29T04:22:26.000026Z

hmm just answering myself. I need to do more in plain clojure, map a list of snippets together (map #(first (snippet {...})) [...]), then pass that with params to the main query and glue it there together with --~