extended-0.1.0: Extended versions of common modules
Safe HaskellNone
LanguageGHC2021

Hasql.Pool.Extended

Synopsis

Documentation

initPostgresPool :: PoolConfig -> Map Text Text -> Maybe FilePathSecrets -> IO Pool Source #

Creates a pool from postgres config params

HasqlPool.staticConnectionSettings translates the connection settings to the pool settings HasqlPool.settings translates the pool settings into pool config HasqlPool.acquire creates the pool. ezpz.