beam-migrate-0.3.2.1: 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 # 
Instance details

Defined in Database.Beam.Migrate.SQL.Builder

Enum ConstraintAttributeTiming Source # 
Instance details

Defined in Database.Beam.Migrate.SQL.Builder

Eq ConstraintAttributeTiming Source # 
Instance details

Defined in Database.Beam.Migrate.SQL.Builder

Ord ConstraintAttributeTiming Source # 
Instance details

Defined in Database.Beam.Migrate.SQL.Builder

Show ConstraintAttributeTiming Source # 
Instance details

Defined in Database.Beam.Migrate.SQL.Builder

data SqlConstraintAttributesBuilder Source #

Valid IsSql92ConstraintAttributesSyntax shared among some backends.

Instances
Eq SqlConstraintAttributesBuilder Source # 
Instance details

Defined in Database.Beam.Migrate.SQL.Builder

Show SqlConstraintAttributesBuilder Source # 
Instance details

Defined in Database.Beam.Migrate.SQL.Builder

Semigroup SqlConstraintAttributesBuilder Source # 
Instance details

Defined in Database.Beam.Migrate.SQL.Builder

Monoid SqlConstraintAttributesBuilder Source # 
Instance details

Defined in Database.Beam.Migrate.SQL.Builder

IsSql92ConstraintAttributesSyntax SqlConstraintAttributesBuilder Source # 
Instance details

Defined in Database.Beam.Migrate.SQL.Builder

fromSqlConstraintAttributes :: SqlConstraintAttributesBuilder -> Builder Source #

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

Orphan instances

IsSql92ColumnConstraintSyntax SqlSyntaxBuilder Source # 
Instance details

IsSql92ColumnConstraintDefinitionSyntax SqlSyntaxBuilder Source # 
Instance details

IsSql92ReferentialActionSyntax SqlSyntaxBuilder Source # 
Instance details

IsSql92MatchTypeSyntax SqlSyntaxBuilder Source # 
Instance details

IsSql92TableConstraintSyntax SqlSyntaxBuilder Source # 
Instance details

IsSql92ColumnSchemaSyntax SqlSyntaxBuilder Source # 
Instance details

IsSql92AlterColumnActionSyntax SqlSyntaxBuilder Source # 
Instance details

IsSql92AlterTableActionSyntax SqlSyntaxBuilder Source # 
Instance details

IsSql92AlterTableSyntax SqlSyntaxBuilder Source # 
Instance details

IsSql92DropTableSyntax SqlSyntaxBuilder Source # 
Instance details

IsSql92CreateTableSyntax SqlSyntaxBuilder Source # 
Instance details

IsSql92DdlCommandSyntax SqlSyntaxBuilder Source # 
Instance details

Sql92DisplaySyntax SqlSyntaxBuilder Source # 
Instance details