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

Safe HaskellNone
LanguageHaskell2010

Business

Documentation

data Business Source #

Constructors

Business 

Fields

Instances

Show Business Source # 
Generic Business Source # 

Associated Types

type Rep Business :: * -> * #

Methods

from :: Business -> Rep Business x #

to :: Rep Business x -> Business #

PersistableWidth Business Source # 
TableDerivable Business Source # 
ShowConstantTermsSQL Business Source # 
ToSql SqlValue Business Source # 
FromSql SqlValue Business Source # 
HasColumnConstraint NotNull Business Source # 
HasColumnConstraint Primary Business Source # 
HasKeyConstraint Primary Business Source # 
HasProjection "custId" Business Int Source # 

Methods

projection :: PiLabel "custId" -> Pi Business Int #

HasProjection "name" Business String Source # 

Methods

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

HasProjection "primary" Business Int Source # 

Methods

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

HasProjection "stateId" Business String Source # 

Methods

projection :: PiLabel "stateId" -> Pi Business String #

HasConstraintKey Primary Business Int Source # 
HasProjection "incorpDate" Business (Maybe Day) Source # 

Methods

projection :: PiLabel "incorpDate" -> Pi Business (Maybe Day) #

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