Mid-level PostgreSQL client library for Haskell
open sourceBSD-3-Clausefree
postgresql-simple is a mid-level PostgreSQL client library for Haskell, forked from mysql-simple. It converts rows and fields to and from Haskell types (FromRow, ToRow, FromField, ToField), with modules for LISTEN/NOTIFY notifications, hstore and a SQL quasiquoter, among others. It was written by Bryan O'Sullivan and Leon P Smith and is maintained by Oleg Grenrus in the haskellari organisation.
Problems it solves
- query PostgreSQL from Haskell
- map Postgres rows to Haskell records
- use LISTEN/NOTIFY from a Haskell app
Features
- FromRow/ToRow and FromField/ToField conversions
- transactions and COPY
- LISTEN/NOTIFY
- SQL quasiquoter
