odpic-raw-0.3.0: Oracle Database Bindings

Safe HaskellNone
LanguageHaskell2010

Database.Dpi.Field

Synopsis

Documentation

data DataField Source #

Database Raw Data with Type Info

Constructors

DataField 

Fields

class FromDataField a where Source #

Some Type can convert from DataField

Minimal complete definition

fromDataField

class ToDataField a where Source #

Some type can convert to DataValue

Minimal complete definition

toDataField

Instances

ToDataField Bool Source # 
ToDataField Double Source # 
ToDataField Float Source # 
ToDataField Int Source # 
ToDataField Int64 Source # 
ToDataField Integer Source # 
ToDataField Word Source # 
ToDataField Word64 Source # 
ToDataField Decimal Source # 
ToDataField ByteString Source # 
ToDataField ZonedTime Source # 
ToDataField UTCTime Source # 
ToDataField DiffTime Source # 

isNullable :: DataField -> Bool Source #

Check if data field is nullable

toByteString :: Data_Bytes -> IO ByteString Source #

Convert from CStringLen to ByteString