#include <statement.hpp>

Public Member Functions | |
| Statement (void) | |
| Empty constructor. | |
| virtual int | getNumCols (void)=0 throw (Error) |
| virtual std::string | getColAttr (int col)=0 throw (Error) |
| virtual ResultRowPtr | fetchRow (void)=0 throw (Error) |
| Fetch row of resulting row. | |
Abstract class for performing SQL queries and acquiring results.
Definition at line 31 of file statement.hpp.
| Statement::Statement | ( | void | ) | [inline] |
| virtual ResultRowPtr Statement::fetchRow | ( | void | ) | throw (Error) [pure virtual] |
Fetch row of resulting row.
Implemented in MySQLStatement, and ODBCStatement.
| virtual std::string Statement::getColAttr | ( | int | col | ) | throw (Error) [pure virtual] |
Meta information about column.
| col | Number of column (between 0 and getNumCols()-1). |
Implemented in MySQLStatement, and ODBCStatement.
| virtual int Statement::getNumCols | ( | void | ) | throw (Error) [pure virtual] |
Get number of result columns.
0 if there is none. Implemented in MySQLStatement, and ODBCStatement.