Fork me on GitHub
#sql
<
2017-12-05
>
petr.mensik17:12:33

Is there some better way how to get raw SQL connection from Korma than (.getConnection (:datasource (korma.db/get-connection @korma.db/_default)))? Am I suppose to close this connection after I do my query or does it get closed by the connection pool itself?

seancorfield17:12:12

If you're calling .getConnection yourself, I would expect you'll need to call .close yourself.