ResultSet Class Reference
A database result set.
More...
#include <SQLDatabase.h++>
List of all members.
Detailed Description
A database result set.
The next() method should be called to advance to the first and each subsequent row in the ResultSet.
- Author:
- Mark Lindner
Constructor & Destructor Documentation
Member Function Documentation
Get the aliased name for the given column in the ResultSet.
- Parameters:
-
| column | The column number (counting from 1). |
- Returns:
- The aliased column name.
- Exceptions:
-
Get the value for the given column in the current row of the ResultSet, as a Blob.
- Parameters:
-
| column | The column number (counting from 1). |
- Returns:
- The value, as a Blob.
- Exceptions:
-
Get the number of columns in the ResultSet.
- Exceptions:
-
- Returns:
- The column count.
Get the unaliased name for the given column in the ResultSet.
- Parameters:
-
| column | The column number (counting from 1). |
- Returns:
- The column name.
- Exceptions:
-
Get the value for the given column in the current row of the ResultSet.
- Parameters:
-
| column | The column number (counting from 1). |
- Returns:
- The value, as a Variant.
- Exceptions:
-
Get the value for the given column in the current row of the ResultSet, as a double-precision floating point value.
- Parameters:
-
| column | The column number (counting from 1). |
- Returns:
- The value, as a double.
- Exceptions:
-
Get the value for the given column in the current row of the ResultSet, as an integer.
- Parameters:
-
| column | The column number (counting from 1). |
- Returns:
- The value, as an int.
- Exceptions:
-
Get the value for the given column in the current row of the ResultSet, as a 64-bit integer.
- Parameters:
-
| column | The column number (counting from 1). |
- Returns:
- The value, as an int64_t.
- Exceptions:
-
Get the value for the given column in the current row of the ResultSet, as a String.
- Parameters:
-
| column | The column number (counting from 1). |
- Returns:
- The value, as a String.
- Exceptions:
-
Get the name of the table for the given column in the ResultSet.
- Parameters:
-
| column | The column number (counting from 1). |
- Returns:
- The table name.
- Exceptions:
-
Advance to the next result in the ResultSet.
- Exceptions:
-
- Returns:
- true if successful, or false if there are no more results.
Friends And Related Function Documentation
The documentation for this class was generated from the following files: