diff --git a/README.md b/README.md index 330e2fa..3e09fa6 100644 --- a/README.md +++ b/README.md @@ -60,6 +60,7 @@ _Supported Deno verisons:_ **^1.37.2** - [Database Methods](#database-methods) - [countAll()](#countall) - [deleteAll()](#deleteall) + - [wipe()](#wipe) - [deleteUndelivered()](#deleteundelivered-1) - [findUndelivered()](#findundelivered-1) - [enqueue()](#enqueue-1) @@ -740,6 +741,15 @@ argument that can be used to set the consistency mode. await db.deleteAll() ``` +### wipe() + +Delete all kvdex entries, including undelivered and history entries. + +```ts +// Deletes all kvdex entries +await db.wipe() +``` + ### deleteUndelivered() Delete an undelivered document entry by id from the database queue.