CurryInfo: spicey-4.2.0 / Spicey.GenerationHelper.isGenerated

definition: Info
 
isGenerated :: Entity -> Bool
isGenerated (Entity _ attrs) = null (filter (not . isForeignKey) attrs)
demand: Info
 argument 1
deterministic: Info
 deterministic operation
documentation: Info
 
An entity is generated (to represent many-to-many relations)
if all attributes are foreign keys
failfree: Info
 _
indeterministic: Info
 referentially transparent operation
infix: Info
 no fixity defined
iotype: Info
 {({Entity}) |-> {False,True}}
name: Info
 isGenerated
precedence: Info
 no precedence defined
result-values: Info
 {False,True}
signature: Info
 Database.ERD.Entity -> Prelude.Bool
solution-complete: Info
 operation might suspend on free variables
terminating: Info
 yes
totally-defined: Info
 reducible on all ground data terms