persistent-template

Type-safe, non-relational, multi-backend persistence.

http://www.yesodweb.com/book/persistent

Version on this page:2.1.8.1
LTS Haskell 22.14:2.12.0.0
Stackage Nightly 2024-03-28:2.12.0.0
Latest on Hackage:2.12.0.0

See all snapshots persistent-template appears in

MIT licensed by Michael Snoyman
This version can be pinned in stack with:persistent-template-2.1.8.1@sha256:662b6197613138a4a4341749e2b7cf3a409dc6cdf2ce5a927d78279af1ed8789,2216

Module documentation for 2.1.8.1

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.8.1

  • fix a bad Eq instance /= definition for Key when mpsGenetric=True

2.1.7

  • Support for GHC 8 #556

2.1.6

  • aeson 0.11
  • transformers 0.5

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