Skip to content

A type and helpers for typesafe SQL access in the presence of many databases.

License

Notifications You must be signed in to change notification settings

sellerlabs/persistent-typed-db

 
 

Repository files navigation

#!/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"

About

A type and helpers for typesafe SQL access in the presence of many databases.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Haskell 100.0%