Fork me on GitHub
#sql
<
2021-08-05
>
v3ga14:08:20

How would you go about inserting json data? I have a ‘profile’ field that accepts jsonb yet I’m running into a “These SQL clauses are unknown or have nil values: ” issue?

seancorfield14:08:33

There's a #honeysql channel but the answer is to use :lift per the docs.

seancorfield14:08:14

@decim See https://github.com/seancorfield/honeysql/blob/develop/doc/postgresql.md (some of the extra info around JSON handling hasn't made it to cljdoc yet)

v3ga14:08:35

@seancorfield nice, that does it…not sure how I missed that portion in the docs.