CurryInfo: spicey-4.2.0 / Spicey.Scaffolding.createModels

definition: Info
 
createModels :: String -> ERD -> String -> String -> IO ()
createModels erprogpath erd path dbfile = do
  let erdname = erdName erd
  curdir <- getCurrentDirectory
  setCurrentDirectory path
  --erd2CDBI dbfile erprogpath erd
  startWithERD
    (defaultEROptions { optStorage = SQLite dbfile, optCDBI = True
                      , optModule  = "Model." ++ erdname
                      , optFile    = erdname ++ ".curry" })
    erprogpath
    erd
  setCurrentDirectory curdir
demand: Info
 no demanded arguments
deterministic: Info
 deterministic operation
documentation: Info
 
Uses Curry package `ertools` for ERD to Curry transformation
failfree: Info
 <FAILING>
indeterministic: Info
 referentially transparent operation
infix: Info
 no fixity defined
iotype: Info
 {(_,_,_,_) |-> _}
name: Info
 createModels
precedence: Info
 no precedence defined
result-values: Info
 _
signature: Info
 String -> Database.ERD.ERD -> String -> String -> Prelude.IO ()
solution-complete: Info
 operation might suspend on free variables
terminating: Info
 possibly non-terminating
totally-defined: Info
 possibly non-reducible on same data term