Safe Haskell | None |
---|---|
Language | Haskell2010 |
- data CompositeType = CompositeType {
- ctName :: !(RawSQL ())
- ctColumns :: ![CompositeColumn]
- data CompositeColumn = CompositeColumn {
- ccName :: !(RawSQL ())
- ccType :: ColumnType
- defineComposites :: MonadDB m => [CompositeType] -> m ()
Documentation
data CompositeType Source #
CompositeType | |
|
data CompositeColumn Source #
CompositeColumn | |
|
defineComposites :: MonadDB m => [CompositeType] -> m () Source #
Composite types are static in a sense that they can either be created or dropped, altering them is not possible. Therefore they are not part of the migration process. This is not a problem since their exclusive usage is for intermediate representation of complex nested data structures fetched from the database.