Module

Droplet.Driver.Internal.Pool

Package
purescript-droplet
Repository
easafe/purescript-droplet

#Configuration Source

type Configuration = { database :: Database, host :: Maybe String, idleTimeoutMillis :: Maybe Int, max :: Maybe Int, password :: Maybe String, port :: Maybe Int, user :: Maybe String }

PostgreSQL connection pool configuration.

#Database Source

#Pool Source

data Pool :: Type

PostgreSQL connection pool.

#newPool Source

newPool :: Configuration -> Effect Pool

Create a new connection pool.