Berkeley DB Reference Version 2026.09.11

Database truncation

The DB->truncate() method empties a database of all records.