Safe Haskell | None |
---|
derivePersistFieldPB
uses Template Haskell to produce
PersistField
instances for types with
ReflectDescriptor
and
Wire
instances just as
derivePersistField
produces
PersistField
instances for types with Read
and Show
instances.
- derivePersistFieldPB :: String -> Q [Dec]
Documentation
Derive PersistField
instances for typName
. typName
should be an instance of the
ReflectDescriptor
and
Wire
classes.