mysql-0.1.1.5: A low-level MySQL client library.

Copyright(c) 2011 MailRank, Inc.
LicenseBSD3
MaintainerBryan O'Sullivan <bos@serpentine.com>
Stabilityexperimental
Portabilityportable
Safe HaskellNone
LanguageHaskell98

Database.MySQL.Base.Types

Contents

Description

Types for working with the direct bindings to the C mysqlclient API.

Synopsis

Types

High-level types

data Field Source

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

Constructors

Field 

Fields

fieldName :: ByteString

Name of column.

fieldOrigName :: ByteString

Original column name, if an alias.

fieldTable :: ByteString

Table of column, if column was a field.

fieldOrigTable :: ByteString

Original table name, if table was an alias.

fieldDB :: ByteString

Database for table.

fieldCatalog :: ByteString

Catalog for table.

fieldDefault :: Maybe ByteString

Default value.

fieldLength :: Word

Width of column (create length).

fieldMaxLength :: Word

Maximum width for selected set.

fieldFlags :: FieldFlags

Div flags.

fieldDecimals :: Word

Number of decimals in field.

fieldCharSet :: Word

Character set number.

fieldType :: Type
 

Low-level types

Field flags

Connect flags