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

Berkeley DB Reference Guide: Access Methods

Deleting records

The DB->del function is the standard function for retrieving records from the database. In general, the delete function takes a key and deletes the data item associated with it from the database.

If the database has been configured to support duplicate records, the DB->del function will remove all of the duplicate records. To remove individual duplicate records, you must use a Berkeley DB cursor interface.