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

Safe HaskellNone
LanguageHaskell2010

Branch

Documentation

data Branch Source #

Constructors

Branch 

Fields

Instances

Show Branch Source # 
Generic Branch Source # 

Associated Types

type Rep Branch :: * -> * #

Methods

from :: Branch -> Rep Branch x #

to :: Rep Branch x -> Branch #

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

Methods

projection :: PiLabel "branchId" -> Pi Branch Int #

HasProjection "name" Branch String Source # 

Methods

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

HasProjection "address" Branch (Maybe String) Source # 

Methods

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

HasProjection "city" Branch (Maybe String) Source # 

Methods

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

HasProjection "state" Branch (Maybe String) Source # 

Methods

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

HasProjection "zip" Branch (Maybe String) Source # 

Methods

projection :: PiLabel "zip" -> Pi Branch (Maybe String) #

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