relational-record-examples-0.5.1.0: Examples of Haskell Relationa Record

Safe HaskellNone
LanguageHaskell2010

ProductType

Documentation

data ProductType Source #

Constructors

ProductType 

Fields

Instances

Show ProductType Source # 
Generic ProductType Source # 

Associated Types

type Rep ProductType :: * -> * #

PersistableWidth ProductType Source # 
TableDerivable ProductType Source # 
ShowConstantTermsSQL ProductType Source # 
ToSql SqlValue ProductType Source # 
FromSql SqlValue ProductType Source # 
HasColumnConstraint NotNull ProductType Source # 
HasColumnConstraint Primary ProductType Source # 
HasKeyConstraint Primary ProductType Source # 
HasProjection "name" ProductType String Source # 

Methods

projection :: PiLabel "name" -> Pi ProductType String #

HasProjection "primary" ProductType String Source # 

Methods

projection :: PiLabel "primary" -> Pi ProductType String #

HasProjection "productTypeCd" ProductType String Source # 

Methods

projection :: PiLabel "productTypeCd" -> Pi ProductType String #

HasConstraintKey Primary ProductType String Source # 
ProductConstructor (String -> String -> ProductType) Source # 
type Rep ProductType Source # 
type Rep ProductType = D1 * (MetaData "ProductType" "ProductType" "relational-record-examples-0.5.1.0-BEamPDMSiQH5CG48dW7qQ9" False) (C1 * (MetaCons "ProductType" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "productTypeCd") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * String)) (S1 * (MetaSel (Just Symbol "name") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * String))))