| Safe Haskell | None |
|---|---|
| Language | Haskell98 |
Database.Groundhog.TH.Settings
Contents
Documentation
data PersistDefinitions #
Constructors
| PersistDefinitions | |
Fields
| |
Instances
| Show PersistDefinitions # | |
Defined in Database.Groundhog.TH.Settings Methods showsPrec :: Int -> PersistDefinitions -> ShowS # show :: PersistDefinitions -> String # showList :: [PersistDefinitions] -> ShowS # | |
| Lift PersistDefinitions # | |
Defined in Database.Groundhog.TH.Settings Methods lift :: PersistDefinitions -> Q Exp # | |
| FromJSON PersistDefinitions # | |
Defined in Database.Groundhog.TH.Settings Methods parseJSON :: Value -> Parser PersistDefinitions # parseJSONList :: Value -> Parser [PersistDefinitions] # | |
data THEntityDef #
Constructors
| THEntityDef | |
Fields
| |
Instances
| Eq THEntityDef # | |
Defined in Database.Groundhog.TH.Settings | |
| Show THEntityDef # | |
Defined in Database.Groundhog.TH.Settings Methods showsPrec :: Int -> THEntityDef -> ShowS # show :: THEntityDef -> String # showList :: [THEntityDef] -> ShowS # | |
data THEmbeddedDef #
Constructors
| THEmbeddedDef | |
Fields
| |
Instances
| Eq THEmbeddedDef # | |
Defined in Database.Groundhog.TH.Settings Methods (==) :: THEmbeddedDef -> THEmbeddedDef -> Bool # (/=) :: THEmbeddedDef -> THEmbeddedDef -> Bool # | |
| Show THEmbeddedDef # | |
Defined in Database.Groundhog.TH.Settings Methods showsPrec :: Int -> THEmbeddedDef -> ShowS # show :: THEmbeddedDef -> String # showList :: [THEmbeddedDef] -> ShowS # | |
data THPrimitiveDef #
Constructors
| THPrimitiveDef | |
Fields
| |
Instances
| Eq THPrimitiveDef # | |
Defined in Database.Groundhog.TH.Settings Methods (==) :: THPrimitiveDef -> THPrimitiveDef -> Bool # (/=) :: THPrimitiveDef -> THPrimitiveDef -> Bool # | |
| Show THPrimitiveDef # | |
Defined in Database.Groundhog.TH.Settings Methods showsPrec :: Int -> THPrimitiveDef -> ShowS # show :: THPrimitiveDef -> String # showList :: [THPrimitiveDef] -> ShowS # | |
data THConstructorDef #
Constructors
| THConstructorDef | |
Fields | |
Instances
| Eq THConstructorDef # | |
Defined in Database.Groundhog.TH.Settings Methods (==) :: THConstructorDef -> THConstructorDef -> Bool # (/=) :: THConstructorDef -> THConstructorDef -> Bool # | |
| Show THConstructorDef # | |
Defined in Database.Groundhog.TH.Settings Methods showsPrec :: Int -> THConstructorDef -> ShowS # show :: THConstructorDef -> String # showList :: [THConstructorDef] -> ShowS # | |
data THFieldDef #
Constructors
| THFieldDef | |
Fields
| |
Instances
| Eq THFieldDef # | |
Defined in Database.Groundhog.TH.Settings | |
| Show THFieldDef # | |
Defined in Database.Groundhog.TH.Settings Methods showsPrec :: Int -> THFieldDef -> ShowS # show :: THFieldDef -> String # showList :: [THFieldDef] -> ShowS # | |
data THUniqueDef #
Constructors
| THUniqueDef | |
Fields
| |
Instances
| Eq THUniqueDef # | |
Defined in Database.Groundhog.TH.Settings | |
| Show THUniqueDef # | |
Defined in Database.Groundhog.TH.Settings Methods showsPrec :: Int -> THUniqueDef -> ShowS # show :: THUniqueDef -> String # showList :: [THUniqueDef] -> ShowS # | |
data THUniqueKeyDef #
Constructors
| THUniqueKeyDef | |
Fields
| |
Instances
| Eq THUniqueKeyDef # | |
Defined in Database.Groundhog.TH.Settings Methods (==) :: THUniqueKeyDef -> THUniqueKeyDef -> Bool # (/=) :: THUniqueKeyDef -> THUniqueKeyDef -> Bool # | |
| Show THUniqueKeyDef # | |
Defined in Database.Groundhog.TH.Settings Methods showsPrec :: Int -> THUniqueKeyDef -> ShowS # show :: THUniqueKeyDef -> String # showList :: [THUniqueKeyDef] -> ShowS # | |
data THAutoKeyDef #
Constructors
| THAutoKeyDef | |
Fields | |
Instances
| Eq THAutoKeyDef # | |
Defined in Database.Groundhog.TH.Settings | |
| Show THAutoKeyDef # | |
Defined in Database.Groundhog.TH.Settings Methods showsPrec :: Int -> THAutoKeyDef -> ShowS # show :: THAutoKeyDef -> String # showList :: [THAutoKeyDef] -> ShowS # | |
data PSEntityDef #
Constructors
| PSEntityDef | |
Fields
| |
Instances
| Eq PSEntityDef # | |
Defined in Database.Groundhog.TH.Settings | |
| Show PSEntityDef # | |
Defined in Database.Groundhog.TH.Settings Methods showsPrec :: Int -> PSEntityDef -> ShowS # show :: PSEntityDef -> String # showList :: [PSEntityDef] -> ShowS # | |
| Lift PSEntityDef # | |
Defined in Database.Groundhog.TH.Settings Methods lift :: PSEntityDef -> Q Exp # | |
| ToJSON PSEntityDef # | |
Defined in Database.Groundhog.TH.Settings Methods toJSON :: PSEntityDef -> Value # toEncoding :: PSEntityDef -> Encoding # toJSONList :: [PSEntityDef] -> Value # toEncodingList :: [PSEntityDef] -> Encoding # | |
| FromJSON PSEntityDef # | |
Defined in Database.Groundhog.TH.Settings | |
data PSEmbeddedDef #
Constructors
| PSEmbeddedDef | |
Fields
| |
Instances
| Eq PSEmbeddedDef # | |
Defined in Database.Groundhog.TH.Settings Methods (==) :: PSEmbeddedDef -> PSEmbeddedDef -> Bool # (/=) :: PSEmbeddedDef -> PSEmbeddedDef -> Bool # | |
| Show PSEmbeddedDef # | |
Defined in Database.Groundhog.TH.Settings Methods showsPrec :: Int -> PSEmbeddedDef -> ShowS # show :: PSEmbeddedDef -> String # showList :: [PSEmbeddedDef] -> ShowS # | |
| Lift PSEmbeddedDef # | |
Defined in Database.Groundhog.TH.Settings Methods lift :: PSEmbeddedDef -> Q Exp # | |
| FromJSON PSEmbeddedDef # | |
Defined in Database.Groundhog.TH.Settings Methods parseJSON :: Value -> Parser PSEmbeddedDef # parseJSONList :: Value -> Parser [PSEmbeddedDef] # | |
data PSPrimitiveDef #
Constructors
| PSPrimitiveDef | |
Fields
| |
Instances
| Eq PSPrimitiveDef # | |
Defined in Database.Groundhog.TH.Settings Methods (==) :: PSPrimitiveDef -> PSPrimitiveDef -> Bool # (/=) :: PSPrimitiveDef -> PSPrimitiveDef -> Bool # | |
| Show PSPrimitiveDef # | |
Defined in Database.Groundhog.TH.Settings Methods showsPrec :: Int -> PSPrimitiveDef -> ShowS # show :: PSPrimitiveDef -> String # showList :: [PSPrimitiveDef] -> ShowS # | |
| Lift PSPrimitiveDef # | |
Defined in Database.Groundhog.TH.Settings Methods lift :: PSPrimitiveDef -> Q Exp # | |
| FromJSON PSPrimitiveDef # | |
Defined in Database.Groundhog.TH.Settings Methods parseJSON :: Value -> Parser PSPrimitiveDef # parseJSONList :: Value -> Parser [PSPrimitiveDef] # | |
data PSConstructorDef #
Constructors
| PSConstructorDef | |
Fields | |
Instances
| Eq PSConstructorDef # | |
Defined in Database.Groundhog.TH.Settings Methods (==) :: PSConstructorDef -> PSConstructorDef -> Bool # (/=) :: PSConstructorDef -> PSConstructorDef -> Bool # | |
| Show PSConstructorDef # | |
Defined in Database.Groundhog.TH.Settings Methods showsPrec :: Int -> PSConstructorDef -> ShowS # show :: PSConstructorDef -> String # showList :: [PSConstructorDef] -> ShowS # | |
| Lift PSConstructorDef # | |
Defined in Database.Groundhog.TH.Settings Methods lift :: PSConstructorDef -> Q Exp # | |
| ToJSON PSConstructorDef # | |
Defined in Database.Groundhog.TH.Settings Methods toJSON :: PSConstructorDef -> Value # toEncoding :: PSConstructorDef -> Encoding # toJSONList :: [PSConstructorDef] -> Value # toEncodingList :: [PSConstructorDef] -> Encoding # | |
| FromJSON PSConstructorDef # | |
Defined in Database.Groundhog.TH.Settings Methods parseJSON :: Value -> Parser PSConstructorDef # parseJSONList :: Value -> Parser [PSConstructorDef] # | |
data PSFieldDef str #
Constructors
| PSFieldDef | |
Fields
| |
Instances
| Eq str => Eq (PSFieldDef str) | |
Defined in Database.Groundhog.Generic Methods (==) :: PSFieldDef str -> PSFieldDef str -> Bool # (/=) :: PSFieldDef str -> PSFieldDef str -> Bool # | |
| Show str => Show (PSFieldDef str) | |
Defined in Database.Groundhog.Generic Methods showsPrec :: Int -> PSFieldDef str -> ShowS # show :: PSFieldDef str -> String # showList :: [PSFieldDef str] -> ShowS # | |
| Lift (PSFieldDef String) # | |
Defined in Database.Groundhog.TH.Settings | |
| ToJSON (PSFieldDef String) # | |
Defined in Database.Groundhog.TH.Settings Methods toJSON :: PSFieldDef String -> Value # toEncoding :: PSFieldDef String -> Encoding # toJSONList :: [PSFieldDef String] -> Value # toEncodingList :: [PSFieldDef String] -> Encoding # | |
| FromJSON (PSFieldDef String) # | |
Defined in Database.Groundhog.TH.Settings Methods parseJSON :: Value -> Parser (PSFieldDef String) # parseJSONList :: Value -> Parser [PSFieldDef String] # | |
data PSUniqueDef #
Constructors
| PSUniqueDef | |
Fields | |
Instances
| Eq PSUniqueDef # | |
Defined in Database.Groundhog.TH.Settings | |
| Show PSUniqueDef # | |
Defined in Database.Groundhog.TH.Settings Methods showsPrec :: Int -> PSUniqueDef -> ShowS # show :: PSUniqueDef -> String # showList :: [PSUniqueDef] -> ShowS # | |
| Lift PSUniqueDef # | |
Defined in Database.Groundhog.TH.Settings Methods lift :: PSUniqueDef -> Q Exp # | |
| ToJSON PSUniqueDef # | |
Defined in Database.Groundhog.TH.Settings Methods toJSON :: PSUniqueDef -> Value # toEncoding :: PSUniqueDef -> Encoding # toJSONList :: [PSUniqueDef] -> Value # toEncodingList :: [PSUniqueDef] -> Encoding # | |
| FromJSON PSUniqueDef # | |
Defined in Database.Groundhog.TH.Settings | |
data PSUniqueKeyDef #
Constructors
| PSUniqueKeyDef | |
Instances
| Eq PSUniqueKeyDef # | |
Defined in Database.Groundhog.TH.Settings Methods (==) :: PSUniqueKeyDef -> PSUniqueKeyDef -> Bool # (/=) :: PSUniqueKeyDef -> PSUniqueKeyDef -> Bool # | |
| Show PSUniqueKeyDef # | |
Defined in Database.Groundhog.TH.Settings Methods showsPrec :: Int -> PSUniqueKeyDef -> ShowS # show :: PSUniqueKeyDef -> String # showList :: [PSUniqueKeyDef] -> ShowS # | |
| Lift PSUniqueKeyDef # | |
Defined in Database.Groundhog.TH.Settings Methods lift :: PSUniqueKeyDef -> Q Exp # | |
| ToJSON PSUniqueKeyDef # | |
Defined in Database.Groundhog.TH.Settings Methods toJSON :: PSUniqueKeyDef -> Value # toEncoding :: PSUniqueKeyDef -> Encoding # toJSONList :: [PSUniqueKeyDef] -> Value # toEncodingList :: [PSUniqueKeyDef] -> Encoding # | |
| FromJSON PSUniqueKeyDef # | |
Defined in Database.Groundhog.TH.Settings Methods parseJSON :: Value -> Parser PSUniqueKeyDef # parseJSONList :: Value -> Parser [PSUniqueKeyDef] # | |
data PSAutoKeyDef #
Constructors
| PSAutoKeyDef | |
Fields | |
Instances
| Eq PSAutoKeyDef # | |
Defined in Database.Groundhog.TH.Settings | |
| Show PSAutoKeyDef # | |
Defined in Database.Groundhog.TH.Settings Methods showsPrec :: Int -> PSAutoKeyDef -> ShowS # show :: PSAutoKeyDef -> String # showList :: [PSAutoKeyDef] -> ShowS # | |
| Lift PSAutoKeyDef # | |
Defined in Database.Groundhog.TH.Settings Methods lift :: PSAutoKeyDef -> Q Exp # | |
| ToJSON PSAutoKeyDef # | |
Defined in Database.Groundhog.TH.Settings Methods toJSON :: PSAutoKeyDef -> Value # toEncoding :: PSAutoKeyDef -> Encoding # toJSONList :: [PSAutoKeyDef] -> Value # toEncodingList :: [PSAutoKeyDef] -> Encoding # | |
| FromJSON PSAutoKeyDef # | |
Defined in Database.Groundhog.TH.Settings | |