Skip to content
This repository was archived by the owner on Dec 1, 2024. It is now read-only.

Commit 2410aa3

Browse files
bewestrvagg
authored andcommitted
resolve #261, explain args to callback to #del
Per bug report, example crafted from test.
1 parent e77bbd4 commit 2410aa3

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -257,6 +257,12 @@ LevelDB will by default fill the in-memory LRU Cache with data from a call to ge
257257
<a name="del"></a>
258258
### db.del(key[, options][, callback])
259259
<code>del()</code> is the primary method for removing data from the store.
260+
```js
261+
db.del('foo', function hasError (err) {
262+
console.error('ERROR', err);
263+
throw err;
264+
});
265+
```
260266

261267
#### `options`
262268

0 commit comments

Comments
 (0)