I wrote a small anonymous function to be used with a map call. The function returns a vector containing a column name and column value from a SQL result set que
map
You need to use vector function to do this:
#(vector (keyword %) (.getObject resultset %))
P.S. there are also functions for maps, sets, etc.