templatepg

A PostgreSQL access library with compile-time SQL type inference https://github.com/jekor/templatepg

Latest on Hackage:0.2.8

This package is not currently in any snapshots. If you're interested in using it, we recommend adding it to Stackage Nightly. Doing so will make builds more reliable, and allow stackage.org to host generated Haddocks.

MIT licensed by Chris Forno (jekor)
Maintained by jekor@jekor.com

TemplatePG provides PostgreSQL access from Haskell via the PostgreSQL protocol. It also provides a higher-level Template Haskell interface. It eliminates a class of runtime errors by checking queries against a PostgreSQL database at compile-time. This also reduces boilerplate code for dealing with query results, as the type and number of result columns are known at compile-time.

comments powered byDisqus