Fork me on GitHub
#sql
<
2019-11-23
>
dangercoder09:11:29

since your using clojure, do you define your schema columns with kebab-case?

dangercoder09:11:20

personally I use snake_case in postgres. map of data->table-format->insert

dangercoder09:11:27

@dharrigan do you convert the select-query result keys to kebab-case?

dharrigan09:11:48

Can't say that I do, I just work with what is there.

dangercoder09:11:40

I see, thanks for the insight 🙂 . I found some information here using next.jdbc if one wants to do that kind of stuff: https://cljdoc.org/d/seancorfield/next.jdbc/1.0.8/doc/getting-started/result-set-builders

dharrigan09:11:04

would be the latest