Is there a way to setup jdbc or honeySql so that when retrieving columns from the database with :select [:*] it automatically translates all column names from foo_bar to foo-bar?
thanks, I have used
rs/as-unqualified-kebab-mapsYes, something like this:
(require '[next.jdbc :as jdbc])
(defn execute-one! [conn sql-vec]
(jdbc/execute-one! conn sql-vec
jdbc/unqualified-snake-kebab-opts))