Closed e-e-e closed 6 years ago
This pr adds the delete option, which is available in the get method, to the createReadStream and iterator methods.
get
createReadStream
iterator
My main motivation for this change is so that I can see all values that have been added to the database regardless of whether they still exist or not.
I need this functionality for hyperdb-stage so that I can easily merge staged deletions. This PR will fix this currently broken test - https://github.com/e-e-e/hyperdb-stage/blob/master/test/staged.test.js#L174-L184
@mafintosh looks like the tests are failing because of a stalled run on node 8. It does not actually look like a valid failure.
3.5.0
This pr adds the delete option, which is available in the
get
method, to thecreateReadStream
anditerator
methods.My main motivation for this change is so that I can see all values that have been added to the database regardless of whether they still exist or not.
I need this functionality for hyperdb-stage so that I can easily merge staged deletions. This PR will fix this currently broken test - https://github.com/e-e-e/hyperdb-stage/blob/master/test/staged.test.js#L174-L184