Syntax
long db.delete( long table_id [, long mode [, long eflag]] )
Description
This deletes the current record. The record pointer is not changed, so the current record is undefined after the record has been deleted.
Arguments
table_id The table ID, as returned by db.bind().
mode Set this to DB.RETRY if retry points and the SELECT FOR UPDATE statement are being used. The actual database action is postponed until the transaction is committed.
eflag For some errors, it is possible to indicate the action the system must perform when the error occurs.
Return Value
0 success
>0 error
Related Post:
long db.delete( long table_id [, long mode [, long eflag]] )
Description
This deletes the current record. The record pointer is not changed, so the current record is undefined after the record has been deleted.
Arguments
table_id The table ID, as returned by db.bind().
mode Set this to DB.RETRY if retry points and the SELECT FOR UPDATE statement are being used. The actual database action is postponed until the transaction is committed.
eflag For some errors, it is possible to indicate the action the system must perform when the error occurs.
Return Value
0 success
>0 error
Related Post:
0 comments:
Post a Comment