Skip to content

Commit

Permalink
chore: updated readme
Browse files Browse the repository at this point in the history
  • Loading branch information
oliver-oloughlin committed Dec 2, 2023
1 parent 4814a94 commit f65da7c
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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.
Expand Down

0 comments on commit f65da7c

Please sign in to comment.