|
definition: |
isForeignKey :: Attribute -> Bool
isForeignKey (Attribute _ d _ _) = case d of KeyDom _ -> True
_ -> False
|
|
demand: |
argument 1 |
|
deterministic: |
deterministic operation |
|
documentation: |
- Is an attribute a (generated) foreign key? |
|
failfree: |
_ |
|
indeterministic: |
referentially transparent operation |
|
infix: |
no fixity defined |
|
iotype: |
{({Attribute}) |-> _}
|
|
name: |
isForeignKey |
|
precedence: |
no precedence defined |
|
result-values: |
{False,True}
|
|
signature: |
Database.ERD.Attribute -> Prelude.Bool |
|
solution-complete: |
operation might suspend on free variables |
|
terminating: |
yes |
|
totally-defined: |
reducible on all ground data terms |