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

Stabilityexperimental
MaintainerLeon P Smith <leon@melding-monads.com>
Safe HaskellNone

Database.PostgreSQL.Simple.HStore

Description

Parsers and printers for hstore, a extended type bundled with PostgreSQL providing finite maps from text strings to text strings. See http://www.postgresql.org/docs/9.2/static/hstore.html for more information.

Note that in order to use this type, a database superuser must install it by running a sql script in the share directory. This can be done on PostgreSQL 9.1 and later with the command CREATE EXTENSION hstore. See http://www.postgresql.org/docs/9.2/static/contrib.html for more information.

Synopsis

Documentation

newtype HStoreList Source

Constructors

HStoreList 

Fields

fromHStoreList :: [(Text, Text)]
 

data HStoreBuilder Source

Represents valid hstore syntax.

class ToHStoreText a whereSource

Instances

ToHStoreText ByteString

Assumed to be UTF-8 encoded

ToHStoreText ByteString

Assumed to be UTF-8 encoded

ToHStoreText Text 
ToHStoreText Text 
ToHStoreText HStoreText 

data HStoreText Source

Represents escape text, ready to be the key or value to a hstore value

Instances