Fork me on GitHub
#honeysql
<
2022-01-15
>
pinkfrog09:01:25

Hi. I am using sql

pinkfrog09:01:20

How to compose the following with honey helpers?

(str "SET statement_timeout = 300000;\n"
       "SET idle_in_transaction_session_timeout = 300000;"))

seancorfield21:01:22

@i Since those are neither SQL nor DDL (they are database-specific settings), there is no support in HoneySQL for that.

pinkfrog14:01:17

Can’t I go with something like raw ?

seancorfield18:01:12

You might as well just use ["SQL string"] directly with next.jdbc at that point -- why use HoneySQL for something that is entirely raw SQL strings?

👍 1