I'm using version 0.3.2.2 and am wondering about opening a DB connection using newSecureAuthConnection in combination with the resource pool package. That package has a function:
createPool
:: IO a -- acquire resource (open connection, e.g. "newSecureAuthConnection")
-> (a -> IO ()) -- close connection
-- ... other args...
-> IO (Pool a)
which manages the lifecycle of a pooled resource/connection. I was wondering if you had any advice on how to combine this and the Neo4j library. Or is there a different workflow that you've used?
I'm using version 0.3.2.2 and am wondering about opening a DB connection using
newSecureAuthConnection
in combination with the resource pool package. That package has a function:which manages the lifecycle of a pooled resource/connection. I was wondering if you had any advice on how to combine this and the Neo4j library. Or is there a different workflow that you've used?
Thanks!