CurryInfo: ertools-3.0.0 / Database.ERD.Goodies.foreignKeyAttributes

definition: Info
 
foreignKeyAttributes :: String -> [Attribute] -> [Attribute]
foreignKeyAttributes ename attrs = filter isForeignKeyWithName attrs
 where
  isForeignKeyWithName (Attribute _ d _ _) = case d of KeyDom n -> n==ename
                                                       _        -> False
demand: Info
 argument 2
deterministic: Info
 deterministic operation
documentation: Info
 
Returns the attributes that are a foreign key of a given entity name.
failfree: Info
 (_, _)
indeterministic: Info
 referentially transparent operation
infix: Info
 no fixity defined
iotype: Info
 {(_,_) |-> {:,[]}}
name: Info
 foreignKeyAttributes
precedence: Info
 no precedence defined
result-values: Info
 {:,[]}
signature: Info
 String -> [Database.ERD.Attribute] -> [Database.ERD.Attribute]
solution-complete: Info
 operation might suspend on free variables
terminating: Info
 possibly non-terminating
totally-defined: Info
 reducible on all ground data terms