-
-
Notifications
You must be signed in to change notification settings - Fork 266
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
delete a range #23
Comments
This should probably be a user module |
I'm going to reopen this because it's going to be way more efficient to do it directly against leveldb and not have to go back and forth from V8. |
leveldb has a direct api for this? |
no, but it could be done directly via an iterator, totally async |
That's the way I went with leveled also, do all the iterator stuff directly in C |
this needs to be done in LevelDOWN, I'd like almost identical options to those which you provide to |
Is the best way to do this using: db.batch()
.del(...)
.del(...)
.del(...)
.del(...)
.del(...)
... ? |
Range delete would be nice functionality, and it would also provide some symmetry with Thinking out loud here: it would be great if you could read ranges or specified keys. For example:
|
Having a function for
Would be useful.
Use-case here is to have mechanism to purge old data mainly
The text was updated successfully, but these errors were encountered: