Result set. More...
Data Structures | |
struct | vtm_sql_result |
Enumerations | |
enum | vtm_sql_result_state { VTM_SQL_RES_STATE_UNINIT, VTM_SQL_RES_STATE_READY, VTM_SQL_RES_STATE_STEPPING, VTM_SQL_RES_STATE_FINISHED } |
Functions | |
VTM_API void | vtm_sql_result_release (struct vtm_sql_result *res) |
VTM_API int | vtm_sql_result_fetch_row (struct vtm_sql_result *res, vtm_dataset *row) |
VTM_API int | vtm_sql_result_fetch_all (struct vtm_sql_result *res) |
VTM_API void vtm_sql_result_release | ( | struct vtm_sql_result * | res | ) |
Releases the result set.
res | the result set that should be released |
VTM_API int vtm_sql_result_fetch_row | ( | struct vtm_sql_result * | res, |
vtm_dataset * | row | ||
) |
Fetches the next row from the result set.
res | the target result set | |
[out] | row | the fetched row |
VTM_API int vtm_sql_result_fetch_all | ( | struct vtm_sql_result * | res | ) |
Fetches and buffers the complete result set.
res | the target result set |