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