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

Copyright(c) 2011 MailRank, Inc.
LicenseBSD3
MaintainerPaul Rouse <pyr@doynton.org>
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 Type Source #

Column types supported by MySQL.

Instances

Enum Type Source # 

Methods

succ :: Type -> Type #

pred :: Type -> Type #

toEnum :: Int -> Type #

fromEnum :: Type -> Int #

enumFrom :: Type -> [Type] #

enumFromThen :: Type -> Type -> [Type] #

enumFromTo :: Type -> Type -> [Type] #

enumFromThenTo :: Type -> Type -> Type -> [Type] #

Eq Type Source # 

Methods

(==) :: Type -> Type -> Bool #

(/=) :: Type -> Type -> Bool #

Show Type Source # 

Methods

showsPrec :: Int -> Type -> ShowS #

show :: Type -> String #

showList :: [Type] -> ShowS #

data Field Source #

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

Constructors

Field 

Fields

Instances

Low-level types

Field flags

Connect flags