definition: |
genTables :: String -> Entity -> CFuncDecl genTables mName (Entity name _) = stCmtFunc ("The database table of the `" ++ name ++ "` entity.") (mName, firstLow name ++ "Table") 0 Public (baseType (mDescr, "Table")) [(simpleRule [] (string2ac name))] |
demand: |
argument 2 |
deterministic: |
deterministic operation |
documentation: |
-- Generates a table description for on an entity. |
failfree: |
(_, _) |
indeterministic: |
referentially transparent operation |
infix: |
no fixity defined |
iotype: |
{(_,{Entity}) |-> _} |
name: |
genTables |
precedence: |
no precedence defined |
result-values: |
_ |
signature: |
String -> Database.ERD.Entity -> AbstractCurry.Types.CFuncDecl |
solution-complete: |
operation might suspend on free variables |
terminating: |
possibly non-terminating |
totally-defined: |
possibly non-reducible on same data term |