A framework of packages for building Haskell applications
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Peter J. Jones ca209f410a
Update to GHC 8.8.3 and newer dependencies
2 months ago
..
example Reduce the number of exports, make it easier to use modules unqualified 4 months ago
src Update to GHC 8.8.3 and newer dependencies 2 months ago
test Update to GHC 8.8.3 and newer dependencies 2 months ago
.envrc Update build files to match latest release of nix-hs 8 months ago
.ghci Add the Iolaus.Database.Table module 4 months ago
CHANGELOG.md Add Iolaus.Opaleye.Config 1 year ago
LICENSE Migrate to fused-effects 4 months ago
README.md Add the `selectToStream' function for streaming the results of a query 4 months ago
Setup.hs Add Iolaus.Opaleye.Config 1 year ago
default.nix Update to GHC 8.8.3 and newer dependencies 2 months ago
iolaus-opaleye.cabal Update to GHC 8.8.3 and newer dependencies 2 months ago
shell.nix Update build files to match latest release of nix-hs 8 months ago

README.md

Iolaus.Database

For more details, including a tutorial, please see the example.hs file that is part of this distribution.

Running the Example

To run the example application you first need to set two environment variables:

  • DB_CONN: The PostgreSQL database connection string. Create a database with any name you like, then set this variable.

  • iolaus_opaleye_datadir: The path to the directory containing this README.md file. This is so the example application can find the schema migration files.

Examples of these environment variables can be found in the top-level .envrc file.