_AdbStatement Struct Reference
AirDBC statement internals. More...
#include <airdbc_drv.h>
Data Fields | |
| AdbConnection * | conn |
| Connection on which this statement was prepared. | |
| void * | dstmt |
| Driver private statement information. | |
| char * | sql |
| Statement parameterized string in native parameter format. | |
| uint32_t | param_count |
| Count of parameters in statement. | |
| uint32_t | param_maxlen |
| Maximum length of a single parameter in param_buf. | |
| char * | param_buf |
| Preallocated parameter space. | |
| char ** | param_str |
| Array of parameter strings. | |
| GHashTable * | param_map |
| AirDBC-maintained map of parameter names to position lists. | |
Detailed Description
AirDBC statement internals.May be directly accessed by AirDBC drivers.
Field Documentation
|
|
Driver private statement information. Storage for this is managed bu the driver. |
|
|
Preallocated parameter space. Managed by AirDBC. If a position in this buffer is valid (i.e., not NULL), AirDBC will point the appropriate param_str entry into this buffer at adb_stmt_bind() time. |
|
|
Count of parameters in statement. Generated by adb_stmt_prepare() before calling the driver's prepare routine. |
|
|
Maximum length of a single parameter in param_buf. This is necessary because AirDBC preallocates parameter space due to the requirements of some RDBMS client libraries. Set by the user at adb_stmt_prepare() time. param_buf is param_maxlen * param_count characters long. |
|
|
Array of parameter strings. These are pointers into param_buf. If NULL for a parameter, a NULL value was bound for that parameter. |
|
|
Statement parameterized string in native parameter format. Generated by adb_stmt_prepare() before calling the driver's prepare routine. |
The documentation for this struct was generated from the following file:


