persistent-2.0.3.1: Type-safe, multi-backend data serialization.

Safe HaskellNone
LanguageHaskell98

Database.Persist.Quasi

Synopsis

Documentation

parse :: PersistSettings -> Text -> [EntityDef] Source

Parses a quasi-quoted syntax into a list of entity definitions.

data PersistSettings Source

Constructors

PersistSettings 

Fields

psToDBName :: !(Text -> Text)
 
psStrictFields :: !Bool

Whether fields are by default strict. Default value: True.

Since 1.2