Answer

Contains result of query with valid data answer

Constructors

this
this(ResultContainer r)
Undocumented in source.

Members

Functions

columnFormat
ValueFormat columnFormat(size_t colNum)

Returns column format

columnName
string columnName(size_t colNum)

Returns column name by field number

columnNum
size_t columnNum(string columnName)

Returns column number by field name

opIndex
immutable(Row) opIndex(size_t row)

Returns row of cells

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

Properties

OID
size_t OID [@property setter]

Returns column Oid

cmdStatus
string cmdStatus [@property getter]

Commonly this is just the name of the command, but it might include additional data such as the number of rows processed. The caller should not free the result directly. It will be freed when the associated PGresult handle is passed to PQclear.

columnCount
size_t columnCount [@property getter]

Returns column count

isSupportedArray
size_t isSupportedArray [@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.
length
size_t length [@property getter]

Returns row count

Inherited Members

From Result

status
ExecStatusType status [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
statusString
string statusString [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
resultErrorMessage
string resultErrorMessage [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
resultErrorField
int resultErrorField [@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.
getAnswer
immutable(Answer) getAnswer()
Undocumented in source. Be warned that the author may not have intended to support it.
toString
string toString()
Undocumented in source. Be warned that the author may not have intended to support it.

Meta