beam-migrate-0.2.0.0: SQL DDL support and migrations support library for Beam

Safe HaskellNone
LanguageHaskell2010

Database.Beam.Migrate.SQL.Builder

Contents

Description

DDL syntax instances for SqlSyntaxBuilder

Synopsis

Documentation

data SqlSyntaxBuilderCreateTableOptions Source #

Options for CREATE TABLE. Given as a separate ADT because the options may go in different places syntactically.

You never really need to use this type directly.

data ConstraintAttributeTiming Source #

Some backends use this to represent their constraint attributes. Does not need to be used in practice.

Instances

Bounded ConstraintAttributeTiming Source # 
Enum ConstraintAttributeTiming Source # 
Eq ConstraintAttributeTiming Source # 
Ord ConstraintAttributeTiming Source # 
Show ConstraintAttributeTiming Source # 

fromSqlConstraintAttributes :: SqlConstraintAttributesBuilder -> Builder Source #

Convert a SqlConstraintAttributesBuilder to its SQL92 representation in the returned ByteString Builder.

Orphan instances

IsSql92ColumnConstraintSyntax SqlSyntaxBuilder Source # 
IsSql92ColumnConstraintDefinitionSyntax SqlSyntaxBuilder Source # 
IsSql92ReferentialActionSyntax SqlSyntaxBuilder Source # 
IsSql92MatchTypeSyntax SqlSyntaxBuilder Source # 
IsSql92TableConstraintSyntax SqlSyntaxBuilder Source # 
IsSql92ColumnSchemaSyntax SqlSyntaxBuilder Source # 
IsSql92AlterColumnActionSyntax SqlSyntaxBuilder Source # 
IsSql92AlterTableActionSyntax SqlSyntaxBuilder Source # 
IsSql92AlterTableSyntax SqlSyntaxBuilder Source # 
IsSql92DropTableSyntax SqlSyntaxBuilder Source # 
IsSql92CreateTableSyntax SqlSyntaxBuilder Source # 
IsSql92DdlCommandSyntax SqlSyntaxBuilder Source # 
Sql92DisplaySyntax SqlSyntaxBuilder Source #