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, in OidType oidType, bool isNull = false, in ValueFormat format = ValueFormat.BINARY)

ctor

this
this(in ValueFormat format, in OidType oidType)

Null Value constructor

Members

Functions

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

toString
string toString()

Meta