persistent-template

Type-safe, non-relational, multi-backend persistence. http://www.yesodweb.com/book/persistent

Version on this page:2.1.5
LTS Haskell 15.14:2.8.2.3
Stackage Nightly 2020-06-01:2.8.2.3
Latest on Hackage:2.8.3.0

See all snapshots persistent-template appears in

MIT licensed by Michael Snoyman

Module documentation for 2.1.5

This version can be pinned in stack with:[email protected]:e794a182b1a6598c19ad66dde8da9ce82ba8daf2258175062cad5b38dc37e034,2214

persistent-template

Provides Template Haskell helpers for persistent. For more information, see the chapter in the Yesod book.

code organization

The TH.hs module contains code generators. persistent-template uses EntityDefs that it gets from the quasi-quoter. The quasi-quoter is in persistent Quasi.hs Similarly mant of the types come from the persistent library

Changes

2.1.3.3

By default explicitly use Int64 for foreign key references. This avoids confusion on a 32 bit system.

2.1.3.1

Support foreign key references to composite primary keys

2.1.0.1

Support for monad-control 1.0