A type and helpers for typesafe SQL access in the presence of many databases.
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src/Database/Persist
test
.editorconfig
.gitignore
.travis.yml
CHANGELOG.md
LICENSE
README.lhs
README.md
Setup.hs
package.yaml
persistent-typed-db.cabal
stack.yaml

README.md

#!/usr/bin/env stack

-- stack --install-ghc runghc --package persistent-typed-db --package turtle --package markdown-unlit -- "-pgmL markdown-unlit"

persistent-typed-db

Build Status

This library defines an alternate SqlBackend type for the Haskell [persistent][] database library. The type has a phantom type parameter which allows you to write queries against multiple databases safely.

Usage

This README is an executable literate Haskell file. If you have [stack][] installed, then you can run the file with:

./README.lhs

We'll need to start with the import/pragma boilerplate:

main = putStrLn "Finish me before you release this"