dermesser / leveldb-rs

A reimplementation of LevelDB in Rust (no bindings).
Other
515 stars 60 forks source link

How to iterate through AsyncDb #47

Open nuel77 opened 1 month ago

nuel77 commented 1 month ago

for the blocking version, there exists a method new_iter() which can be used to traverse the database, Is there anything similar in the AsyncDB couterpart?

dermesser commented 1 month ago

Not yet, but with a bit of work it should be feasible to implement. E.g. by using a handle to an iterator that you use in the client/server model.

nuel77 commented 4 weeks ago

Can you elaborte a bitmore? I want to add this to my local fork, if everything works well i can open a pr here as well.