definition:
|
genColumns :: String -> Entity -> [CFuncDecl]
genColumns mName (Entity name attrs) =
map (genColumn mName name ) attrs
|
demand:
|
argument 2
|
deterministic:
|
deterministic operation
|
documentation:
|
-- Generates all needed column-functions based on an entity.
|
failfree:
|
<FAILING>
|
indeterministic:
|
referentially transparent operation
|
infix:
|
no fixity defined
|
iotype:
|
{(_,{Entity}) |-> {:,[]}}
|
name:
|
genColumns
|
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
|