clojure/java.jdbc — pull request #29 by laliluna (2013-05-28 11:43:04+00:00)
Title: Result row transformer

Hello,

I have added a row result transformer which groups the result per alias prefix.

Sample:
(j/query db ["select b.name as bike_name, b.price as bike_price, c.name :as category_name from bike b join category c on b.cat_id = c.id"])

[{:bike {:name \"abc\" :price 22} :category {:name \"Mountain\"}}]

Kind Regards

Sebastian