The cci_cursor_update function updates cursor_pos from the value of the index th column to value. If the database is updated to NULL, value becomes NULL. For update conditions, see cci_prepare(). The data type of value for a_type is shown in the table below.
a_type |
value Type |
---|---|
CCI_A_TYPE_STR |
char* |
CCI_A_TYPE_INT |
int* |
CCI_A_TYPE_FLOAT |
float* |
CCI_A_TYPE_DOUBLE |
double* |
CCI_A_TYPE_BIT |
T_CCI_BIT* |
CCI_A_TYPE_SET |
T_CCI_SET |
CCI_A_TYPE_DATE |
T_CCI_DATE* |
CCI_A_TYPE_BIGINT |
int64_t (For Windows : __int64) |
CCI_A_TYPE_BLOB |
T_CCI_BLOB |
CCI_A_TYPE_CLOB |
T_CCI_CLOB |
int cci_cursor_update(int req_handle, int cursor_pos, int index, T_CCI_A_TYPE a_type, void *value, T_CCI_ERROR *err_buf)