Quick question...I see there are lots of ways to convert SQL snake_case to clojure kebab-case for returns of the queries, but is there any way to send kebab case info into the queries? IE (get-user {:user-name "someUser"})
where the query looks like
-- name: get-user :? :1
-- doc: some doc
select * from users
where user_name = :user_name
But all the solutions I see require a call like (get-user {:user_name "someUser"})
then I can get a return that looks like {:user-name "someUser" :other-param ""}
Well...I think I'm a moron. I can just but :user-name
in the sql file. Its a bit ugly for syntax highlighting, but it works fine.