liuis / leveldb

Automatically exported from code.google.com/p/leveldb
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

add support for DeleteAllKeys update operation #43

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
It would be handy to have a new update operation that can delete all keys 
atomically without having to close, to delete, and then to re-open the database.

Original issue reported on code.google.com by josephwn...@gmail.com on 1 Oct 2011 at 5:55

GoogleCodeExporter commented 9 years ago
something like  Delete(start, limit) or Delete(range)  will be great for me

Original comment by saw...@gmail.com on 4 Sep 2012 at 10:21

GoogleCodeExporter commented 9 years ago
I think we will not add this operation to leveldb since a helper routine
that accomplishes the same thing with equivalent performance can be
built outside leveldb.

Original comment by san...@google.com on 18 Sep 2012 at 4:43