| Safe Haskell | Safe-Inferred | 
|---|---|
| Language | Haskell2010 | 
Sqel.Migration.Statement
Documentation
data MigrationStatement where Source #
Constructors
| MigrationStatement :: p -> Params p -> Sql -> MigrationStatement | 
Instances
| Show MigrationStatement Source # | |
Defined in Sqel.Migration.Statement Methods showsPrec :: Int -> MigrationStatement -> ShowS # show :: MigrationStatement -> String # showList :: [MigrationStatement] -> ShowS #  | |
| MigrationEffect (Const [MigrationStatement] :: Type -> Type) Source # | |
Defined in Sqel.Class.MigrationEffect Methods runMigrationStatements :: [MigrationStatement] -> Const [MigrationStatement] () Source # runStatement_ :: q -> Statement q () -> Const [MigrationStatement] () Source # runStatement :: q -> Statement q [a] -> Const [MigrationStatement] [a] Source #  | |
alterStatement :: PgTypeName table -> p -> Params p -> (Sql -> Sql -> Sql) -> Writer [MigrationStatement] () Source #
columnStatements' :: PgTypeName table -> ColumnAction -> Writer [MigrationStatement] () Source #
typeActionStatements :: PgTypeName table -> TypeAction table -> Writer [MigrationStatement] () Source #
typeStatements :: PgTypeName table -> TypeAction table -> [MigrationStatement] Source #
migrationStatements :: PgTableName -> MigrationActions ext -> [MigrationStatement] Source #
migrationSession :: [MigrationStatement] -> Session () Source #