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

Safe HaskellNone
LanguageHaskell2010

ProductType

Documentation

data ProductType Source #

Constructors

ProductType 

Fields

Instances
Show ProductType Source # 
Instance details

Defined in ProductType

Generic ProductType Source # 
Instance details

Defined in ProductType

Associated Types

type Rep ProductType :: * -> * #

PersistableWidth ProductType Source # 
Instance details

Defined in ProductType

TableDerivable ProductType Source # 
Instance details

Defined in ProductType

LiteralSQL ProductType Source # 
Instance details

Defined in ProductType

ToSql SqlValue ProductType Source # 
Instance details

Defined in ProductType

FromSql SqlValue ProductType Source # 
Instance details

Defined in ProductType

HasColumnConstraint NotNull ProductType Source # 
Instance details

Defined in ProductType

HasColumnConstraint Primary ProductType Source # 
Instance details

Defined in ProductType

HasKeyConstraint Primary ProductType Source # 
Instance details

Defined in ProductType

HasProjection "name" ProductType String Source # 
Instance details

Defined in ProductType

Methods

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

HasProjection "primary" ProductType String Source # 
Instance details

Defined in ProductType

Methods

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

HasProjection "productTypeCd" ProductType String Source # 
Instance details

Defined in ProductType

Methods

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

HasConstraintKey Primary ProductType String Source # 
Instance details

Defined in ProductType

ProductConstructor (String -> String -> ProductType) Source # 
Instance details

Defined in ProductType

type Rep ProductType Source # 
Instance details

Defined in ProductType

type Rep ProductType = D1 (MetaData "ProductType" "ProductType" "relational-record-examples-0.5.1.1-8FXJKls5SD62ekomc1Yj8U" False) (C1 (MetaCons "ProductType" PrefixI True) (S1 (MetaSel (Just "productTypeCd") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 String) :*: S1 (MetaSel (Just "name") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 String)))