Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
DDL syntax instances for SqlSyntaxBuilder
Synopsis
- data SqlSyntaxBuilderCreateTableOptions = SqlSyntaxBuilderCreateTableOptions SqlSyntaxBuilder SqlSyntaxBuilder
- data ConstraintAttributeTiming
- data SqlConstraintAttributesBuilder = SqlConstraintAttributesBuilder {}
- fromSqlConstraintAttributes :: SqlConstraintAttributesBuilder -> Builder
- sqlConstraintAttributesSerialized :: SqlConstraintAttributesBuilder -> BeamSerializedConstraintAttributes
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.
SqlSyntaxBuilderCreateTableOptions SqlSyntaxBuilder SqlSyntaxBuilder |
data ConstraintAttributeTiming Source #
Some backends use this to represent their constraint attributes. Does not need to be used in practice.
Instances
data SqlConstraintAttributesBuilder Source #
Valid IsSql92ConstraintAttributesSyntax
shared among some backends.
Instances
fromSqlConstraintAttributes :: SqlConstraintAttributesBuilder -> Builder Source #
Convert a SqlConstraintAttributesBuilder
to its SQL92
representation in
the returned ByteString
Builder
.
sqlConstraintAttributesSerialized :: SqlConstraintAttributesBuilder -> BeamSerializedConstraintAttributes Source #
Serialize a SqlConstraintAttributesBuilder