23 fResult = (PGresult *) result;
24 fRowCount = fResult ? PQntuples(fResult) : 0;
57 Error(
"IsValid",
"result set closed");
61 Error(
"IsValid",
"field index out of bounds");
73 Error(
"GetFieldCount",
"result set closed");
85 Error(
"GetFieldName",
"result set closed");
100 Error(
"Next",
"result set closed");
TSQLRow * Next()
Get next query result row.
Bool_t IsValid(Int_t field)
Check if result set is open and field index within range.
Int_t GetFieldCount()
Get number of fields in result.
virtual void Error(const char *method, const char *msgfmt,...) const
Issue error message.
const char * GetFieldName(Int_t field)
Get name of specified field.
void Close(Option_t *opt="")
Close query result.
ClassImp(TPgSQLResult) TPgSQLResult
PgSQL query result.
~TPgSQLResult()
Cleanup PgSQL query result.