IPGresult

Prototype: PGResult

Members

Functions

asBytes
ubyte[] asBytes(size_t rowNumber, size_t colNumber)

Prototype: PQgetvalue

asColumnBson
Bson asColumnBson(shared IConnection conn)

Creates Bson from result in column echelon order.

asRowBson
Bson asRowBson(shared IConnection conn)

Creates Bson from result in row echelon order.

asString
string asString(size_t rowNumber, size_t colNumber)

Prototype: PQgetvalue

clear
void clear()

Prototype: PQclear

fname
string fname(size_t colNumber)

Prototype: PQfname

ftype
PQType ftype(size_t colNumber)

Prototype: PQftype

getLength
size_t getLength(size_t rowNumber, size_t colNumber)

Prototype: PQgetlength

getisnull
bool getisnull(size_t rowNumber, size_t colNumber)

Prototype: PQgetisnull

isBinary
bool isBinary(size_t colNumber)

Prototype: PQfformat

logger
shared(ILogger) logger()

Getting local logger

nfields
size_t nfields()

Prototype: PQnfields

ntuples
size_t ntuples()

Prototype: PQntuples

resStatus
string resStatus()

Prototype: PQresStatus Note: same as resultStatus, but converts the enum to human-readable string.

resultErrorMessage
string resultErrorMessage()

Prototype: PQresultErrorMessage

resultStatus
ExecStatusType resultStatus()

Prototype: PQresultStatus

Meta