Fork me on GitHub
#hugsql
<
2022-02-04
>
erre lin05:02:16

Hi, I asked this question in the beginner channel and was suggested asking it here. seancorfield already advises using next.jdbc feature to keep a connection pool. I'm just wondering what's happening on the HugSQL side? Thank you in advance.

curtis.summers14:02:45

HugSQL does not control the connection. Rather, each adapter passes the connection object (which can be a db spec, a db connection, a db connection pool, or a transaction object) down to the underlying library.