Module

MySQL.Pool

Package
purescript-mysql
Repository
oreshinya/purescript-mysql

#PoolInfo Source

type PoolInfo = { acquireTimeout :: Milliseconds, connectionLimit :: Int, queueLimit :: Int, waitForConnections :: Boolean }

#Pool Source

data Pool

#defaultPoolInfo Source

#withPool Source

withPool :: forall a. (Connection -> Aff a) -> Pool -> Aff a