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

Safe HaskellNone
LanguageHaskell2010

Customer

Documentation

data Customer Source #

Constructors

Customer 

Instances

Show Customer Source # 
Generic Customer Source # 

Associated Types

type Rep Customer :: * -> * #

Methods

from :: Customer -> Rep Customer x #

to :: Rep Customer x -> Customer #

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

Methods

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

HasProjection "custTypeCd" Customer String Source # 

Methods

projection :: PiLabel "custTypeCd" -> Pi Customer String #

HasProjection "fedId" Customer String Source # 

Methods

projection :: PiLabel "fedId" -> Pi Customer String #

HasProjection "address" Customer (Maybe String) Source # 

Methods

projection :: PiLabel "address" -> Pi Customer (Maybe String) #

HasProjection "city" Customer (Maybe String) Source # 

Methods

projection :: PiLabel "city" -> Pi Customer (Maybe String) #

HasProjection "postalCode" Customer (Maybe String) Source # 

Methods

projection :: PiLabel "postalCode" -> Pi Customer (Maybe String) #

HasProjection "state" Customer (Maybe String) Source # 

Methods

projection :: PiLabel "state" -> Pi Customer (Maybe String) #

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