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

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