Hello, I am having trouble when I use hugsql to get a map.
I don’t know why it contains #object[org.joda….], I want just the time.
Anybody can have a clue? Thanks.
This happens at a lower-level than HugSQL: clojure.java.jdbc has a protocol for coercing types on the way into and out of the database, and this is what's happening to your date. Somewhere in your stack (is this a Luminus app?), you've likely got clj-time's JDBC protocols being implemented: https://github.com/clj-time/clj-time/blob/master/src/clj_time/jdbc.clj