Open brechtcs opened 6 years ago
In the latest release you can now use createKeyHistoryStream(key)
to get the history of a specific key.
If you want to get the history a prefix recursively - this is not to difficult to achieve by combining get keyHistory and createReadStream.
Currently, it seems the
createHistoryStream
method only supports iterating over all records. If this is technically feasible, it could be handy to support streaming the history only of a specific prefix, just likecreateReadStream
.