db truncate

db truncate
	[-txn txnid]  

Empties the database, discarding all records it contains.

The options are as follows:

The db truncate command returns the number of records discarded from the database on success.

In the case of error, a Tcl error is thrown.