#include <mcllib/db/MCDBResultSet.h>
Inheritance diagram for MCDBResultSet:
Public Member Functions | |
mcllib::mcint32 | findColumn (const mcllib::MCString &columnName) const |
Get the column index for a named column. | |
mcllib::MCVariantType | get (mcllib::mcint32 columnIndex) |
Get data (column) value for a column index. | |
mcllib::MCVariantType | get (const mcllib::MCString &columnName) |
Get data (column) value for a named column. | |
MCDBResultSetMetaData | getMetaData () const |
Get meta data for the result set. | |
mcllib::mcint64 | getRow () |
Get the row number of the current row. | |
mcllib::mcint64 | getRowCount () |
Get the row count or -1 if the row count is unknown. | |
bool | next () |
Get the next row in the result set. | |
~MCDBResultSet () | |
Free any resources in the result set. | |
Friends | |
class | MCSqlStatement |
Use MCDBConnection::execute() to determine if an executed statement was a query or an update statement, and use the appropriate methods on the result set.
|
Get the next row in the result set. Return false when no more rows |