Matt Parsons 10ff69c7b9 mkEntityDefList (#904) 4 years ago
..
Database 10ff69c7b9 mkEntityDefList (#904) 4 years ago
bench a3eed2f7c5 Cleanup of pragmas, imports and dependencies (#888) 5 years ago
test a3eed2f7c5 Cleanup of pragmas, imports and dependencies (#888) 5 years ago
ChangeLog.md 10ff69c7b9 mkEntityDefList (#904) 4 years ago
LICENSE 62e3056a5d Update license with MIT license 12 years ago
README.md ac62a919ab some architecture documentation 8 years ago
Setup.lhs 5841fde6d4 add Setup.lhs to persistent-template 12 years ago
persistent-template.cabal 10ff69c7b9 mkEntityDefList (#904) 4 years ago

README.md

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