#include <ODBCQuery.h>
Public Methods | |
ODBCQuery (ODBCConnection &odbc) | |
~ODBCQuery () | |
ODBCQuery & | param (bool *pValue) |
ODBCQuery & | param (char *pValue) |
ODBCQuery & | param (int *pValue) |
ODBCQuery & | param (int64_t *pValue) |
ODBCQuery & | param (const char *pValue) |
ODBCQuery & | binParam () |
ODBCQuery & | column (bool *pValue) |
ODBCQuery & | column (char *pValue) |
ODBCQuery & | column (int *pValue) |
ODBCQuery & | column (int64_t *pValue) |
int | exec (const char *query) |
void | listTables () |
bool | fetch () |
bool | commit () |
bool | rollback () |
bool | getText (int column, string &str) |
int | getData (int column, uint8_t *buffer, int maxlen) |
int | putData (const uint8_t *buffer, int length) |
int | paramData () |
void | error (int lineno) |
|
Constructor.
|
|
Destructor. |
|
Bind binary (LONGVARBINARY) to next paramter marker in SQL statement. |
|
Bind int64_t (BIGINT) to next column in the result set. |
|
Bind int to next column in the result set. |
|
Bind char to next column in the result set. |
|
Bind bool to next column in the result set. |
|
Commit transaction.
|
|
ODBC error, free resources associated with statement handle.
|
|
Execute SQL query and compare the number of rows affected.
|
|
Fetch the next rowset of data from the result set.
|
|
Retrieves data for a single column in the result set.
|
|
Retrieve 'text' (TEXT) column.
|
|
Fetch a list of all available tables TABLE_NAME is the 3rd column |
|
Bind 'const char *' (TEXT) to next parameter marker in SQL statement. |
|
Bind int64_t (BIGINT) to next parameter marker in SQL statement. |
|
Bind int to next parameter marker in SQL statement. |
|
Bind char to next parameter marker in SQL statement. |
|
Bind bool to next parameter marker in SQL statement. |
|
Get next binary parameter index for putData().
|
|
Send data for a parameter or column at statement execution time.
|
|
Rollback transaction.
|