persistent-odbc-0.1.2.2: Backend for the persistent library using ODBC

Safe HaskellNone

Database.Persist.ODBCTypes

Synopsis

Documentation

data DBType Source

List of DBMS that are supported

Constructors

MySQL 
Postgres 
MSSQL 

Fields

mssql2012 :: Bool
 
Oracle 

Fields

oracle12c :: Bool
 
DB2 
Sqlite 

Fields

sqlite3619 :: Bool
 

Instances

Read DBType 
Show DBType 

data MigrationStrategy Source

Constructors

MigrationStrategy 

Fields

dbmsLimitOffset :: (Int, Int) -> Bool -> Text -> Text
 
dbmsMigrate :: Show a => [EntityDef a] -> (Text -> IO Statement) -> EntityDef SqlType -> IO (Either [Text] [(Bool, Text)])
 
dbmsInsertSql :: EntityDef SqlType -> [PersistValue] -> InsertSqlResult
 
dbmsEscape :: DBName -> Text
 
dbmsType :: DBType