Public Member Functions |
|
| Statement (Connection &conn) |
|
void | bind_in (int idx, const DBALLE_SQL_C_SINT_TYPE &val) |
|
void | bind_in (int idx, const DBALLE_SQL_C_SINT_TYPE &val, const SQLLEN &ind) |
|
void | bind_in (int idx, const DBALLE_SQL_C_UINT_TYPE &val) |
|
void | bind_in (int idx, const DBALLE_SQL_C_UINT_TYPE &val, const SQLLEN &ind) |
|
void | bind_in (int idx, const unsigned short &val) |
|
void | bind_in (int idx, const char *val) |
|
void | bind_in (int idx, const char *val, const SQLLEN &ind) |
|
void | bind_in (int idx, const SQL_TIMESTAMP_STRUCT &val) |
|
void | bind_out (int idx, DBALLE_SQL_C_SINT_TYPE &val) |
|
void | bind_out (int idx, DBALLE_SQL_C_SINT_TYPE &val, SQLLEN &ind) |
|
void | bind_out (int idx, DBALLE_SQL_C_UINT_TYPE &val) |
|
void | bind_out (int idx, DBALLE_SQL_C_UINT_TYPE &val, SQLLEN &ind) |
|
void | bind_out (int idx, unsigned short &val) |
|
void | bind_out (int idx, char *val, SQLLEN buflen) |
|
void | bind_out (int idx, char *val, SQLLEN buflen, SQLLEN &ind) |
|
void | bind_out (int idx, SQL_TIMESTAMP_STRUCT &val) |
|
void | prepare (const char *query) |
|
void | prepare (const char *query, int qlen) |
| int | execute () |
| int | exec_direct (const char *query) |
| int | exec_direct (const char *query, int qlen) |
| int | execute_and_close () |
| int | exec_direct_and_close (const char *query) |
| int | exec_direct_and_close (const char *query, int qlen) |
| int | columns_count () |
|
bool | fetch () |
|
bool | fetch_expecting_one () |
|
void | close_cursor () |
|
size_t | rowcount () |
|
void | set_cursor_forward_only () |
Data Fields |
|
SQLHSTMT | stm |
|
const char * | ignore_error |
| | If non-NULL, ignore all errors with this code.
|
Protected Member Functions |
|
bool | error_is_ignored () |
|
bool | is_error (int sqlres) |