Berkeley DB Reference Guide:
Access Methods

PrevRefNext

Database truncation

The DB->truncate function is the standard interface for emptying a database of all records.

PrevRefNext

Copyright Sleepycat Software