hpqtypes-1.5.1.1: Haskell bindings to libpqtypes

Safe HaskellNone
LanguageHaskell2010

Database.PostgreSQL.PQTypes.XML

Synopsis

Documentation

newtype XML #

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 # 

Methods

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

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

Ord 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 # 
Show XML # 

Methods

showsPrec :: Int -> XML -> ShowS #

show :: XML -> String #

showList :: [XML] -> ShowS #

PQFormat XML # 
FromSQL XML # 

Associated Types

type PQBase XML :: * #

Methods

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

ToSQL XML # 

Associated Types

type PQDest XML :: * #

Methods

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

type PQBase XML # 
type PQDest XML #