Berkeley DB Reference Guide:
Access Methods

PrevRefNext

Database truncation

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

PrevRefNext

Copyright Sleepycat Software