Berkeley DB Reference Guide: Access Methods
Полезная информация

Berkeley DB Reference Guide: Access Methods

Deleting records with a cursor

The DBcursor->c_del function is the standard function for deleting records from the database, with a cursor. In general, the cursor delete function takes a key and deletes the associated data from the database.

In all cases, the cursor position is unchanged after a delete.