Difference between revisions of "OpenDBX/C API/odbx row fetch"
From Linuxnetworks
(→Parameters:) |
(see also) |
||
Line 21: | Line 21: | ||
* -ODBX_ERR_PARAM: Parameter or its content is invalid | * -ODBX_ERR_PARAM: Parameter or its content is invalid | ||
+ | |||
+ | = See also: = | ||
+ | |||
+ | * [[OpenDBX_column_count]] | ||
+ | * [[OpenDBX_column_name]] | ||
+ | * [[OpenDBX_column_type]] | ||
+ | * [[OpenDBX_field_length]] | ||
+ | * [[OpenDBX_field_value]] | ||
---- | ---- | ||
Back to [[OpenDBX API|Overview]] | Back to [[OpenDBX API|Overview]] |
Revision as of 11:54, 13 February 2007
int odbx_row_fetch( odbx_result_t* result )
Description:
Retrieves a row of the result set returned by odbx_result(). Until this function is invoked, no row and no field data is available via odbx_field_length() and odbx_field_value() and you must fetch all rows from a result set until zero is returned. Otherwise - depending on the backend - an error may occur after calling odbx_result() the next time or the outstanding rows will be returned within the next result.
Parameters:
- result: Object created by odbx_result()
Return values:
- One on success
- Zero if no more rows are available
- Less than zero if an error occured
Errors:
- -ODBX_ERR_PARAM: Parameter or its content is invalid
See also:
- OpenDBX_column_count
- OpenDBX_column_name
- OpenDBX_column_type
- OpenDBX_field_length
- OpenDBX_field_value
Back to Overview