Berkeley DB Reference Guide: Deleting records
Description: Berkeley DB: An embedded database programmatic toolkit.
Keywords: embedded,database,programmatic,toolkit,btree,hash,hashing,transaction,transactions,locking,logging,access method,access methods,Java,C,C++

### Berkeley DB Reference Guide: Access Methods |

### Deleting records

The DB->del method deletes records from the database. In general, DB->del 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 method will remove all of the duplicate records. To remove individual duplicate records, you must use a Berkeley DB cursor interface.

Copyright (c) 1996-2005 Sleepycat Software, Inc. - All rights reserved.