|
libdballe
6.8
|
ODBC statement to read a sequence. More...
#include <internals.h>
Public Member Functions | |
| Sequence (Connection &conn, const char *name) | |
| const DBALLE_SQL_C_SINT_TYPE & | read () |
| Read the current value of the sequence. | |
Public Member Functions inherited from dballe::db::Statement | |
| 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 | bind_out (int idx, SQL_TIMESTAMP_STRUCT &val, SQLLEN &ind) |
| 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 () |
| void | close_cursor_if_needed () |
| size_t | select_rowcount () |
| Row count for select operations. | |
| size_t | rowcount () |
| Row count for insert, delete and other non-select operations. | |
| void | set_cursor_forward_only () |
| void | set_cursor_static () |
Data Fields | |
| DBALLE_SQL_C_SINT_TYPE | out |
Data Fields inherited from dballe::db::Statement | |
| const Connection & | conn |
| SQLHSTMT | stm |
| const char * | ignore_error |
| If non-NULL, ignore all errors with this code. | |
Additional Inherited Members | |
Protected Member Functions inherited from dballe::db::Statement | |
| bool | error_is_ignored () |
| bool | is_error (int sqlres) |
ODBC statement to read a sequence.
1.8.8