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

CopyrightHWT Group (c) 2004, haskelldb-users@lists.sourceforge.net
LicenseBSD-style
Maintainerhaskelldb-users@lists.sourceforge.net
Stabilityexperimental
Portabilitynon-portable
Safe HaskellNone
LanguageHaskell98

Database.HaskellDB.DBSpec.DBSpecToDatabase

Description

Connects to a database and generates stuff in it according to what's inside the DBSpec.

Synopsis

Documentation

dbSpecToDatabase Source

Arguments

:: Database

A Database

-> DBInfo

The DBInfo to generate from

-> IO () 

Converts a DBInfo to a real life Database, note that the database must exist for this to work

tInfoToTable :: Database -> TInfo -> IO () Source

Create a database table specified by a TInfo.