ResultSet class.
More...
void ResultSet::GetColumn |
( |
int32_t |
index, |
|
|
Value & |
value |
|
) |
| const |
Gets the value for the given column.
- Parameters
-
index | [in] Column index. |
value | [in|out] Value. |
- Exceptions
-
Gets the value for the given column.
- Parameters
-
- Returns
- The Value of the given column.
- Exceptions
-
Gets the datatype for the given column.
- Parameters
-
- Returns
- DataType for the given column.
int32_t ResultSet::GetColumnIndex |
( |
const std::wstring & |
name | ) |
const |
Gets the column index for the given column name.
- Parameters
-
- Returns
- Column index.
const std::wstring& ResultSet::GetColumnName |
( |
int32_t |
index | ) |
const |
Gets the name for the given column.
- Parameters
-
- Returns
- Column name.
const std::wstring& ResultSet::GetJSON |
( |
int32_t |
rows | ) |
|
Returns rows in JSON format.
Rows are returned from the current position.
- Parameters
-
rows | [in] Maximum number of rows |
- Returns
- JSON representation of the next <rows> rows in the resultset
int32_t ResultSet::GetNumColumns |
( |
| ) |
const |
Gets the number of columns.
Columns are in the range [0...COLUMNS).
- Returns
- The number of columns.
Fetches the next row.
A ResultSet cursor is initially positioned before the first row; the first call to the method "Next" makes the first row the current row; the second call makes the second row the current row, and so on.
- Returns
- TRUE if the next row has been successfully fetched, FALSE otherwise.
- Exceptions
-
The documentation for this class was generated from the following file: