OpenDBX/C API/odbx row fetch

From Linuxnetworks
< OpenDBX‎ | C API
Revision as of 19:21, 1 October 2005 by Nose (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search


int odbx_row_fetch(
    odbx_result_t* result )

Description:

Retrieves the next row of a result set returned by odbx_result(). You must fetch all rows from a result set. Otherwise - depending on the backend - an error may occur after calling odbx_result() the next time.

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



Back to Overview