groundhog-th-0.12: Type-safe datatype-database mapping library.
Safe HaskellNone
LanguageHaskell2010

Database.Groundhog.TH.Settings

Documentation

data THEmbeddedDef Source #

Constructors

THEmbeddedDef 

Fields

data THPrimitiveDef Source #

Constructors

THPrimitiveDef 

Fields

data THFieldDef Source #

Constructors

THFieldDef 

Fields

Instances

Instances details
Eq THFieldDef Source # 
Instance details

Defined in Database.Groundhog.TH.Settings

Show THFieldDef Source # 
Instance details

Defined in Database.Groundhog.TH.Settings

data THUniqueDef Source #

Constructors

THUniqueDef 

Fields

Instances

Instances details
Eq THUniqueDef Source # 
Instance details

Defined in Database.Groundhog.TH.Settings

Show THUniqueDef Source # 
Instance details

Defined in Database.Groundhog.TH.Settings

data THUniqueKeyDef Source #

Constructors

THUniqueKeyDef 

Fields

data PSPrimitiveDef Source #

Constructors

PSPrimitiveDef 

Fields

data PSFieldDef str #

Constructors

PSFieldDef 

Fields

Instances

Instances details
Lift a => Lift (PSFieldDef a :: Type) Source # 
Instance details

Defined in Database.Groundhog.TH.Settings

Methods

lift :: PSFieldDef a -> Q Exp #

liftTyped :: PSFieldDef a -> Q (TExp (PSFieldDef a)) #

Eq str => Eq (PSFieldDef str) 
Instance details

Defined in Database.Groundhog.Generic

Methods

(==) :: PSFieldDef str -> PSFieldDef str -> Bool #

(/=) :: PSFieldDef str -> PSFieldDef str -> Bool #

Show str => Show (PSFieldDef str) 
Instance details

Defined in Database.Groundhog.Generic

Methods

showsPrec :: Int -> PSFieldDef str -> ShowS #

show :: PSFieldDef str -> String #

showList :: [PSFieldDef str] -> ShowS #

ToJSON (PSFieldDef String) Source # 
Instance details

Defined in Database.Groundhog.TH.Settings

FromJSON (PSFieldDef String) Source # 
Instance details

Defined in Database.Groundhog.TH.Settings

Orphan instances

ToJSON UniqueType Source # 
Instance details

ToJSON ReferenceActionType Source # 
Instance details

FromJSON UniqueType Source # 
Instance details

FromJSON ReferenceActionType Source # 
Instance details

Lift UniqueType Source # 
Instance details

Lift ReferenceActionType Source # 
Instance details

Lift a => Lift (PSFieldDef a :: Type) Source # 
Instance details

Methods

lift :: PSFieldDef a -> Q Exp #

liftTyped :: PSFieldDef a -> Q (TExp (PSFieldDef a)) #

ToJSON (PSFieldDef String) Source # 
Instance details

FromJSON (PSFieldDef String) Source # 
Instance details