relational-record-examples-0.5.0.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 # 
FromSql SqlValue ProductType Source # 
ToSql SqlValue ProductType Source # 
HasColumnConstraint NotNull ProductType Source # 
HasColumnConstraint Primary ProductType Source # 
HasKeyConstraint Primary ProductType Source # 
HasConstraintKey Primary ProductType String Source # 
HasProjection "name" ProductType String Source # 

Methods

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

HasProjection "productTypeCd" ProductType String Source # 

Methods

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

ProductConstructor (String -> String -> ProductType) Source # 
type Rep ProductType Source # 
type Rep ProductType = D1 (MetaData "ProductType" "ProductType" "relational-record-examples-0.5.0.0-4ts4L5tKOTDDQVjhwpRfI0" 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))))