hpqtypes-1.7.0.0: Haskell bindings to libpqtypes

Safe HaskellNone
LanguageHaskell2010

Database.PostgreSQL.PQTypes.Interval

Synopsis

Documentation

data Interval Source #

Representation of INTERVAL PostgreSQL type.

Instances
Eq Interval Source # 
Instance details

Defined in Database.PostgreSQL.PQTypes.Interval

Ord Interval Source # 
Instance details

Defined in Database.PostgreSQL.PQTypes.Interval

Show Interval Source # 
Instance details

Defined in Database.PostgreSQL.PQTypes.Interval

Semigroup Interval Source # 
Instance details

Defined in Database.PostgreSQL.PQTypes.Interval

Monoid Interval Source # 
Instance details

Defined in Database.PostgreSQL.PQTypes.Interval

Storable Interval Source # 
Instance details

Defined in Database.PostgreSQL.PQTypes.Interval

PQFormat Interval Source # 
Instance details

Defined in Database.PostgreSQL.PQTypes.Interval

FromSQL Interval Source # 
Instance details

Defined in Database.PostgreSQL.PQTypes.Interval

Associated Types

type PQBase Interval :: Type Source #

ToSQL Interval Source # 
Instance details

Defined in Database.PostgreSQL.PQTypes.Interval

Associated Types

type PQDest Interval :: Type Source #

Methods

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

type PQBase Interval Source # 
Instance details

Defined in Database.PostgreSQL.PQTypes.Interval

type PQDest Interval Source # 
Instance details

Defined in Database.PostgreSQL.PQTypes.Interval

iyears :: Int32 -> Interval Source #

Convert Int32 to appropriate Interval representation of given number of years.

imonths :: Int32 -> Interval Source #

Convert Int32 to appropriate Interval representation of given number of months.

idays :: Int32 -> Interval Source #

Convert Int32 to appropriate Interval representation of given number of days.

ihours :: Int32 -> Interval Source #

Convert Int32 to appropriate Interval representation of given number of hours.

iminutes :: Int32 -> Interval Source #

Convert Int32 to appropriate Interval representation of given number of minutes.

iseconds :: Int32 -> Interval Source #

Convert Int32 to appropriate Interval representation of given number of seconds.

imicroseconds :: Int32 -> Interval Source #

Convert Int32 to appropriate Interval representation of given number of microseconds.