postgresql-simple-0.0.2: Mid-Level PostgreSQL client library

Database.PostgreSQL.Simple.Internal

Synopsis

Documentation

data Field Source

A Field represents metadata about a particular field

You don't particularly want to retain these structures for a long period of time, as they will retain the entire query result, not just the field metadata

Constructors

Field 

connect :: ConnectInfo -> IO ConnectionSource

Connect with the given username to the given database. Will throw an exception if it cannot connect.

withConnection :: Connection -> (Connection -> IO a) -> IO aSource

Atomically perform an action with the database handle, if there is one.

data RawResult Source

Constructors

RawResult 

Instances