hasql-0.14.0.2: A very efficient PostgreSQL driver and a flexible mapping API

Safe HaskellNone
LanguageHaskell2010

Hasql.Settings

Synopsis

Documentation

type Settings = ByteString Source

All settings encoded in a single byte-string according to the PostgreSQL format.

settings :: ByteString -> Word16 -> ByteString -> ByteString -> ByteString -> Settings Source

Encode a host, a port, a user, a password and a database into the PostgreSQL settings byte-string.