An ODBC rowset.
More...
#include <RowSet.h>
ODBCRowSet::ODBCRowSet |
( |
| ) |
|
ODBCRowSet::~ODBCRowSet |
( |
| ) |
|
|
virtual |
add a named column with a defined type and initial size
void ODBCRowSet::Bind |
( |
SQLHANDLE |
hconn | ) |
|
bind the rowset to a connection
void ODBCRowSet::BindColumns |
( |
| ) |
|
bind columns
SQLDescribeCol returns the size of the column in characters, ODBCColumn accepts size in bytes
void ODBCRowSet::Execute |
( |
| ) |
|
void ODBCRowSet::ExecuteDirect |
( |
const std::wstring & |
query | ) |
|
bool ODBCRowSet::Fetch |
( |
| ) |
|
fetch the next row
- Returns
- true if no more rows
unsigned int AppSecInc::Databases::ODBC::ODBCRowSet::GetColumnCount |
( |
| ) |
const |
|
inline |
get the number of columns
std::wstring AppSecInc::Databases::ODBC::ODBCRowSet::GetError |
( |
| ) |
const |
|
inline |
get the text representation of the errors on an ODBC connection handle
std::vector<ODBCError> AppSecInc::Databases::ODBC::ODBCRowSet::GetErrors |
( |
| ) |
const |
|
inline |
get an array of errors on the current ODBC connection
get the executed statement messages
SQLSMALLINT ODBCRowSet::GetNumResultCols |
( |
| ) |
const |
get the actual column count in the result set
SQLINTEGER ODBCRowSet::GetSQLRowCount |
( |
| ) |
const |
get the cached row count in the result set
- Returns
- -1 if the affected row count is not available
const ODBCColumn * ODBCRowSet::operator[] |
( |
const std::wstring & |
name | ) |
const |
const ODBCColumn * ODBCRowSet::operator[] |
( |
int |
index | ) |
const |
const ODBCHandle& AppSecInc::Databases::ODBC::ODBCRowSet::PeekStatementHandle |
( |
| ) |
const |
|
inline |
void ODBCRowSet::Prepare |
( |
const std::wstring & |
query | ) |
|
The documentation for this class was generated from the following files: