haskelldb-2.2.2: A library of combinators for generating and executing SQL statements.

Portabilityportable
Stabilityexperimental
Maintainerhaskelldb-users@lists.sourceforge.net
Safe HaskellNone

Database.HaskellDB.DBSpec.DatabaseToDBSpec

Description

Connects to a Database and generates a DBSpec specification from it.

Synopsis

Documentation

dbToDBSpecSource

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