Portability | portable |
---|---|
Stability | experimental |
Maintainer | [email protected] |
Safe Haskell | None |
Database.HaskellDB.DBSpec.DatabaseToDBSpec
Description
Connects to a Database and generates a DBSpec specification from it.
- dbToDBSpec :: Bool -> MakeIdentifiers -> String -> Database -> IO DBInfo
Documentation
Arguments
:: Bool | Use bounded strings? |
-> MakeIdentifiers | style of generated Haskell identifiers, cOLUMN_NAME vs. columnName |
-> String | the name our database should have |
-> Database | the database connection |
-> IO DBInfo | return a DBInfo |
Connects to a database and generates a specification from it