Skip to content

Commit

Permalink
Add rebuild documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
soapdog authored and staltz committed Sep 9, 2022
1 parent 4c8a8b5 commit 18ce13a
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -665,6 +665,13 @@ db.unbox(data, key)
```
Attempt to decrypt data using key. Key is a symmetric key, that is passed to the unboxer objects.

## db.rebuild: async
```js
db.rebuild(cb)
```

Rebuilds the indexes. This takes a while to run and using SSB features before it is completed may lead to confusing experiences as the indexes will be out of sync.

## db.Deprecated apis

## db.getLatest: async
Expand Down

0 comments on commit 18ce13a

Please sign in to comment.