Value

Represents table cell or argument value

Internally it is a ubyte[]. If it returned by Answer methods it contains a reference to the data of the server answer and it can not be accessed after Answer is destroyed.

Constructors

this
this(immutable(ubyte)[] data, OidType oidType, bool isNull, ValueFormat format)

ctor

this
this(ValueFormat format, OidType oidType)

Null Value constructor

Members

Aliases

isSupportedArray
alias isSupportedArray = isArray
Undocumented in source.

Functions

data
immutable(ubyte)[] data()
Undocumented in source. Be warned that the author may not have intended to support it.
format
ValueFormat format()

Returns ValueFormat representation (text or binary)

isArray
bool isArray()

Indicates if the value is array type

isNull
bool isNull()

Indicates if the value is NULL

oidType
OidType oidType()

Returns Oid of the value

oidType
void oidType(OidType type)
Undocumented in source. Be warned that the author may not have intended to support it.
toString
string toString()

Variables

_data
immutable(ubyte)[] _data;
Undocumented in source.

Meta