Syntax
long db.update( long table_id [, long mode [, long eflag]] )
Description
This rewrites the current record. When updating a record with this function, you are permitted to update the primary key of the record.
Arguments
table_id The table ID, as returned by db.bind().
mode This has two possible values:
Return Value
0 success
>0 error
Related Post:
long db.update( long table_id [, long mode [, long eflag]] )
Description
This rewrites the current record. When updating a record with this function, you are permitted to update the primary key of the record.
Arguments
table_id The table ID, as returned by db.bind().
mode This has two possible values:
- DB.RETRY Set this value if retry points and the SELECT FOR UPDATE statement are being used. The actual database action is postponed until the transaction is committed.
- DB.DELAYED.LOCK This option is available only for records for which a delayed lock has been set with db.eq().
Return Value
0 success
>0 error
Related Post:
0 comments:
Post a Comment