relational-record-examples-0.5.0.0: Examples of Haskell Relationa Record
Employee
data Employee Source #
Constructors
Fields
Instances
Methods
showsPrec :: Int -> Employee -> ShowS #
show :: Employee -> String #
showList :: [Employee] -> ShowS #
Associated Types
type Rep Employee :: * -> * #
from :: Employee -> Rep Employee x #
to :: Rep Employee x -> Employee #
persistableWidth :: PersistableRecordWidth Employee #
derivedTable :: Table Employee #
showConstantTermsSQL' :: Employee -> DList StringSQL #
recordFromSql :: RecordFromSql SqlValue Employee #
recordToSql :: RecordToSql SqlValue Employee #
columnConstraint :: ColumnConstraint NotNull Employee #
columnConstraint :: ColumnConstraint Primary Employee #
keyConstraint :: KeyConstraint Primary Employee #
constraintKey :: Key Primary Employee Int #
projection :: PiLabel "empId" -> Pi Employee Int #
projection :: PiLabel "fname" -> Pi Employee String #
projection :: PiLabel "lname" -> Pi Employee String #
projection :: PiLabel "startDate" -> Pi Employee Day #
projection :: PiLabel "assignedBranchId" -> Pi Employee (Maybe Int) #
projection :: PiLabel "deptId" -> Pi Employee (Maybe Int) #
projection :: PiLabel "endDate" -> Pi Employee (Maybe Day) #
projection :: PiLabel "superiorEmpId" -> Pi Employee (Maybe Int) #
projection :: PiLabel "title" -> Pi Employee (Maybe String) #
productConstructor :: Int -> String -> String -> Day -> Maybe Day -> Maybe Int -> Maybe Int -> Maybe String -> Maybe Int -> Employee #
updateEmployee :: KeyUpdate Int Employee Source #
selectEmployee :: Query Int Employee Source #
assignedBranchId' :: Pi Employee (Maybe Int) Source #
title' :: Pi Employee (Maybe String) Source #
deptId' :: Pi Employee (Maybe Int) Source #
superiorEmpId' :: Pi Employee (Maybe Int) Source #
endDate' :: Pi Employee (Maybe Day) Source #
startDate' :: Pi Employee Day Source #
lname' :: Pi Employee String Source #
fname' :: Pi Employee String Source #
empId' :: Pi Employee Int Source #
insertQueryEmployee :: forall p. Relation p Employee -> InsertQuery p Source #
insertEmployee :: Insert Employee Source #
employee :: Relation () Employee Source #
tableOfEmployee :: Table Employee Source #
columnOffsetsEmployee :: Array Int Int Source #