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

Safe HaskellNone
LanguageHaskell2010

Employee

Documentation

data Employee Source #

Constructors

Employee 

Instances

Show Employee Source # 
Generic Employee Source # 

Associated Types

type Rep Employee :: * -> * #

Methods

from :: Employee -> Rep Employee x #

to :: Rep Employee x -> Employee #

PersistableWidth Employee Source # 
TableDerivable Employee Source # 
ShowConstantTermsSQL Employee Source # 
FromSql SqlValue Employee Source # 
ToSql SqlValue Employee Source # 
HasColumnConstraint NotNull Employee Source # 
HasColumnConstraint Primary Employee Source # 
HasKeyConstraint Primary Employee Source # 
HasConstraintKey Primary Employee Int Source # 
HasProjection "empId" Employee Int Source # 

Methods

projection :: PiLabel "empId" -> Pi Employee Int #

HasProjection "fname" Employee String Source # 

Methods

projection :: PiLabel "fname" -> Pi Employee String #

HasProjection "lname" Employee String Source # 

Methods

projection :: PiLabel "lname" -> Pi Employee String #

HasProjection "startDate" Employee Day Source # 

Methods

projection :: PiLabel "startDate" -> Pi Employee Day #

HasProjection "assignedBranchId" Employee (Maybe Int) Source # 

Methods

projection :: PiLabel "assignedBranchId" -> Pi Employee (Maybe Int) #

HasProjection "deptId" Employee (Maybe Int) Source # 

Methods

projection :: PiLabel "deptId" -> Pi Employee (Maybe Int) #

HasProjection "endDate" Employee (Maybe Day) Source # 

Methods

projection :: PiLabel "endDate" -> Pi Employee (Maybe Day) #

HasProjection "superiorEmpId" Employee (Maybe Int) Source # 

Methods

projection :: PiLabel "superiorEmpId" -> Pi Employee (Maybe Int) #

HasProjection "title" Employee (Maybe String) Source # 

Methods

projection :: PiLabel "title" -> Pi Employee (Maybe String) #

ProductConstructor (Int -> String -> String -> Day -> Maybe Day -> Maybe Int -> Maybe Int -> Maybe String -> Maybe Int -> Employee) Source # 
type Rep Employee Source #