pgstream-0.1.0.3: Elsen Accelerated Computing Engine

Safe HaskellNone
LanguageHaskell2010

Database.PostgreSQL.Stream.Types

Contents

Synopsis

Core types

newtype Identifier Source

Literal SQL identifier (i.e. table field names), spliced into the SQL query unquoted.

Constructors

Identifier 

newtype SQL Source

Literal SQL logic spliced in as a subexpression

Constructors

SQLExpr 

Fields

unSQL :: ByteString
 

newtype Only a Source

Newtype for a singular result set or argument value.

Constructors

Only 

Fields

unOnly :: a
 

Instances

Functor Only 
Eq a => Eq (Only a) 
Ord a => Ord (Only a) 
Read a => Read (Only a) 
Show a => Show (Only a) 
FromField a => FromRow (Only a) 
ToField a => ToSQL (Only a) 
ToField a => ToField (Only a) 
Typeable (* -> *) Only 

data Null Source

SQL Null type

Constructors

Null 

Instances

newtype Query Source

SQL Query

Constructors

Query 

Exceptions

data ConversionError Source

Constructors

ConversionError

Bytestring is malformed

Fields

ceMessage :: String
 
UnexpectedNull

Unexpected null value

Fields

ceMessage :: String
 
Incompatible

Type is incompatible with data

Fields

ceMessage :: String