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

Portabilitynon-portable
Stabilityexperimental
Maintainerhaskelldb-users@lists.sourceforge.net

Database.HaskellDB.DBSpec.DBSpecToDatabase

Description

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

Synopsis

Documentation

dbSpecToDatabaseSource

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.