22 fResult = (sqlite3_stmt *) res;
47 if (field < 0 || field >= (
Int_t)sqlite3_column_count(
fResult)) {
48 Error(
"IsValid",
"field index out of bounds");
64 sqlite3_column_text(
fResult, field);
69 Error(
"GetFieldLength",
"cannot get field length");
84 return reinterpret_cast<const char*
>(sqlite3_column_text(
fResult, field));
ULong_t GetFieldLength(Int_t field)
Get length in bytes of specified field.
void Close(Option_t *opt="")
Close row.
~TSQLiteRow()
Destroy row object.
Bool_t IsValid(Int_t field)
Check if row is open and field index within range.
virtual void Error(const char *method, const char *msgfmt,...) const
Issue error message.
const char * GetField(Int_t field)
Get specified field from row (0 <= field < GetFieldCount()).
ClassImp(TSQLiteRow) TSQLiteRow
Single row of query result.