| Safe Haskell | Safe-Inferred |
|---|
Database.Sequel
Documentation
drop_table :: String -> Sequel ()Source
create_table :: String -> CreateTable a -> Sequel ()Source
type ColumnType = StringSource
varchar :: Integer -> ColumnTypeSource
data ColumnConstraint Source
Constructors
| NOT_NULL | |
| UNIQUE | |
| PRIMARY_KEY | |
| DEFAULT String | |
| REFERENCES String String |
drop_column :: String -> String -> Sequel ()Source
add_column :: String -> String -> ColumnType -> [ColumnConstraint] -> Sequel ()Source
type CreateTable = StateT [(ColumnType, String, [ColumnConstraint])] SequelSource
runCreateTable :: CreateTable a -> Sequel StringSource
column :: String -> ColumnType -> [ColumnConstraint] -> CreateTable ()Source