#include <TDBResult.hh>
Public Methods | |
| ~TDBResult () | |
| Destructor. | |
| bool | IsValid () |
| Query if an error has occurred. | |
| TString & | ErrorMessage () |
| Get error message string. | |
| int | Tuples () |
| Query number of tuples in result. | |
| int | Fields () |
| Query number of fields in result. | |
| bool | IsNull (int tuple, int field) |
| Query if specified field is null. | |
| TString & | Value (int tuple, int field) |
| Get value of the specified field. | |
| TString * | Value2 (int tuple, int field) |
| Get value of the specified field. | |
Friends | |
| class | TDBConnection |
Currently only PostgreSQL is supported.
|
|
Get error message string.
|
|
|
Query number of fields in result.
|
|
||||||||||||
|
Query if specified field is null.
|
|
|
Query if an error has occurred.
|
|
|
Query number of tuples in result.
|
|
||||||||||||
|
Get value of the specified field.
|
|
||||||||||||
|
Get value of the specified field. Unlike Value() the caller owns the returned string and is responsible for destroying it when no longer needed.
|
1.3-rc2