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

Update the contents of a cursor's current row using the data in hrow.

Parameters:
hcursor Cursor handle.
hrow Row of values for update. Only bound fields will be updated.
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_ESTATE The cursor does not support update operations.

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


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