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