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

Safe HaskellNone
LanguageHaskell2010

Department

Documentation

data Department Source #

Constructors

Department 

Fields

Instances

Show Department Source # 
Generic Department Source # 

Associated Types

type Rep Department :: * -> * #

PersistableWidth Department Source # 
TableDerivable Department Source # 
ShowConstantTermsSQL Department Source # 
ToSql SqlValue Department Source # 
FromSql SqlValue Department Source # 
HasColumnConstraint NotNull Department Source # 
HasColumnConstraint Primary Department Source # 
HasKeyConstraint Primary Department Source # 
HasProjection "deptId" Department Int Source # 

Methods

projection :: PiLabel "deptId" -> Pi Department Int #

HasProjection "name" Department String Source # 

Methods

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

HasProjection "primary" Department Int Source # 

Methods

projection :: PiLabel "primary" -> Pi Department Int #

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