Result

Undocumented in source.

Constructors

this
this(PGresult* res)
Undocumented in source.

Members

Aliases

ResultPtr
alias ResultPtr = SmartPointer!(PGresult*, PQclear)
Undocumented in source.
colName
deprecated alias colName = columnName
Undocumented in source.

Functions

columnIndex
int columnIndex(string col)
Undocumented in source. Be warned that the author may not have intended to support it.
columnName
string columnName(int col)
Undocumented in source. Be warned that the author may not have intended to support it.
get
Value get(int row, int col)
Undocumented in source. Be warned that the author may not have intended to support it.
opApply
int opApply(int delegate(Row) dg)

Support foreach loops, the first version with just the row, and the second also providing the index of the row.

opApply
int opApply(int delegate(int, Row) dg)
Undocumented in source. Be warned that the author may not have intended to support it.
opCast
T opCast()
Undocumented in source. Be warned that the author may not have intended to support it.
opIndex
Row opIndex(int row)
Undocumented in source. Be warned that the author may not have intended to support it.
popFront
void popFront()
Undocumented in source. Be warned that the author may not have intended to support it.

Properties

cmdTuples
int cmdTuples [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
columns
int columns [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
empty
bool empty [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
front
Row front [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
isNull
bool isNull [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
rows
int rows [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
time
Duration time [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
time
Duration time [@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

currentRangeIndex
int currentRangeIndex;

Make result satisfy the IsInputRange constraints so we can use it with functions like map, each, ...

Meta