db_result_t db_fetch ( db_cursor_t  hcursor,
db_row_t  hrow,
db_object_t  uobject 
)

Store the contents of the current row in hrow.

Parameters:
hcursor Cursor handle.
hrow Destination for fetched data.
uobject Row data for relative bindings. Use NULL if hrow does not contain relative bindings.
Returns:
On failure, one of the following error codes is set:
  • DB_EINVAL Caused by: invalid cursor handle, invalid row handle.
  • DB_ENOTFOUND Cursor is not positioned on a row. No data was read.

See also:
db_insert, db_update, db_delete,
get_db_error, clear_db_error, Error Handling


Copyright © 2005-2008 ITTIA®. All rights reserved.