From b2ccd9d32d6417b64f990ad1b83d50f388e014ec Mon Sep 17 00:00:00 2001 From: Stephen Whitmore Date: Fri, 10 Feb 2017 22:11:50 -0800 Subject: [PATCH] Update README. --- README.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 03a7b84..ab39cf7 100644 --- a/README.md +++ b/README.md @@ -193,6 +193,9 @@ Delete a document at `id`. The options `opts` are passed to the underlying [hyperkv][4] instance. +A deletion tombstone may have a value associated with it. It will be set to the +value of `opts.value`, if set. + `cb(err, node)` fires with the underlying `node` in the hyperlog. ### osm.batch(rows, opts={}, cb) @@ -204,7 +207,7 @@ Each `row` in `rows` should have: * `row.type` - `'put'` or `'del'` * `row.key` or `row.id` - the id of the document (generated if not specified) * `row.links` - array of links to ancestor keys -* `row.value` - for puts, the value to store +* `row.value` - the value to store on a `put` or `del` ### osm.get(id, opts={}, cb)