Frames-beam

A library for accessing Postgres tables as in-memory data structures.

https://github.com/gagandeepb/Frames-beam

Latest on Hackage:0.2.0.0

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.

BSD-3-Clause licensed by Gagandeep Bhatia
Maintained by [email protected]

This library provides a way to access Postgres tables as data frames by providing helpers for generating types (at compile time) corresponding to a database schema and canned queries to execute against a database instance. Additionally, provides utilities to convert plain Haskell records (i.e. the format of query results) to vinyl records (upon which the Frames library is based). Can be used for interactive exploration by loading all data in-memory at once (and converting to a data frame), and also in a constant memory streaming mode. Start here: Frames.SQL.Beam.Postgres.