hpqtypes-1.6.0.0: Haskell bindings to libpqtypes

Safe HaskellNone
LanguageHaskell2010

Database.PostgreSQL.PQTypes.XML

Synopsis

Documentation

newtype XML Source #

Representation of SQL XML types as Text. Users of hpqtypes may want to add conversion instances for their favorite XML type around XML.

Constructors

XML 

Fields

Instances
Eq XML Source # 
Instance details

Defined in Database.PostgreSQL.PQTypes.XML

Methods

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

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

Ord XML Source # 
Instance details

Defined in Database.PostgreSQL.PQTypes.XML

Methods

compare :: XML -> XML -> Ordering #

(<) :: XML -> XML -> Bool #

(<=) :: XML -> XML -> Bool #

(>) :: XML -> XML -> Bool #

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

max :: XML -> XML -> XML #

min :: XML -> XML -> XML #

Read XML Source # 
Instance details

Defined in Database.PostgreSQL.PQTypes.XML

Show XML Source # 
Instance details

Defined in Database.PostgreSQL.PQTypes.XML

Methods

showsPrec :: Int -> XML -> ShowS #

show :: XML -> String #

showList :: [XML] -> ShowS #

PQFormat XML Source # 
Instance details

Defined in Database.PostgreSQL.PQTypes.XML

FromSQL XML Source # 
Instance details

Defined in Database.PostgreSQL.PQTypes.XML

Associated Types

type PQBase XML :: * Source #

Methods

fromSQL :: Maybe (PQBase XML) -> IO XML Source #

ToSQL XML Source # 
Instance details

Defined in Database.PostgreSQL.PQTypes.XML

Associated Types

type PQDest XML :: * Source #

Methods

toSQL :: XML -> ParamAllocator -> (Ptr (PQDest XML) -> IO r) -> IO r Source #

type PQBase XML Source # 
Instance details

Defined in Database.PostgreSQL.PQTypes.XML

type PQDest XML Source # 
Instance details

Defined in Database.PostgreSQL.PQTypes.XML