khonsulabs / bonsaidb

A developer-friendly document database that grows with you, written in Rust
https://bonsaidb.io/
Apache License 2.0
1.01k stars 37 forks source link

Add ability to delete documents by ID range #223

Open ecton opened 2 years ago

ecton commented 2 years ago

The List types should support delete(), enabling deleting a range of documents using only their IDs.

This operation can be much faster than alternatives because the revision check can be skipped.

A remove_range helper in Nebari could be added to make this implementation "easier", although it can be accomplished using a Modification operation without a helper being added.

vbmade2000 commented 10 months ago

I want to look into this one.