hpqtypes-1.5.1.1: 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 # 

Methods

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

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

Ord XML Source # 

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

Methods

showsPrec :: Int -> XML -> ShowS #

show :: XML -> String #

showList :: [XML] -> ShowS #

PQFormat XML Source # 
FromSQL XML Source # 

Associated Types

type PQBase XML :: * Source #

Methods

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

ToSQL XML Source # 

Associated Types

type PQDest XML :: * Source #

Methods

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

type PQBase XML Source # 
type PQDest XML Source #