Skip to content

Commit

Permalink
Implement explicit snapshots (#110)
Browse files Browse the repository at this point in the history
See Level/community#118. TLDR:

```js
await db.put('example', 'before')
const snapshot = db.snapshot()
await db.put('example', 'after')
await db.get('example', { snapshot })) // Returns 'before'
await snapshot.close()
```

Category: addition
  • Loading branch information
vweevers authored Jan 26, 2025
1 parent 812fe88 commit 15eb289
Show file tree
Hide file tree
Showing 4 changed files with 341 additions and 182 deletions.
Loading

0 comments on commit 15eb289

Please sign in to comment.