|
definition: |
erd2CDBI :: String -> String -> ERD -> IO ()
erd2CDBI dbname erdfile erd =
startWithERD
(defaultEROptions { optStorage = SQLite dbname, optCDBI = True })
erdfile
erd
|
|
demand: |
no demanded arguments |
|
deterministic: |
deterministic operation |
|
documentation: |
Translate an ERD into a Curry program using the API provided by the Curry package `cdbi`. The parameters are the name of the database, the name of the Curry program containing the ERD (only used in a comment of the generated program), and the ERD definition. The generated Curry module has the name of the ERD and is put into the current directory. |
|
failfree: |
<FAILING> |
|
indeterministic: |
referentially transparent operation |
|
infix: |
no fixity defined |
|
iotype: |
{(_,_,_) |-> _}
|
|
name: |
erd2CDBI |
|
precedence: |
no precedence defined |
|
result-values: |
_ |
|
signature: |
String -> String -> Database.ERD.ERD -> Prelude.IO () |
|
solution-complete: |
operation might suspend on free variables |
|
terminating: |
possibly non-terminating |
|
totally-defined: |
possibly non-reducible on same data term |