mysql-haskell-0.1.0.0: pure haskell MySQL driver

Copyright(c) Winterland, 2016
LicenseBSD
Maintainerdrkoster@qq.com
Stabilityexperimental
PortabilityPORTABLE
Safe HaskellNone
LanguageHaskell2010

Database.MySQL.Protocol.ColumnDef

Description

Column definition(aka. field type).

Synopsis

Documentation

data ColumnDef Source

A description of a field (column) of a table.

Constructors

ColumnDef 

Fields

columnDB :: !ByteString

Database for table.

columnTable :: !ByteString

Table of column, if column was a field.

columnOrigTable :: !ByteString

Original table name, if table was an alias.

columnName :: !ByteString

Name of column.

columnOrigName :: !ByteString

Original column name, if an alias.

columnCharSet :: !Word16

Character set number.

columnLength :: !Word32

Width of column (create length).

columnType :: !FieldType
 
columnFlags :: !Word16

Div flags.

columnDecimals :: !Word8

Number of decimals in field.

newtype FieldType Source

newtype around Word8 for represent MySQL_TYPE, We don't use sum type here for speed reason.

Constructors

FieldType Word8