mozilla / rkv

A simple, humane, typed key-value storage solution.
https://crates.io/crates/rkv
Apache License 2.0
304 stars 52 forks source link

Examples on how to iterate backwards? #214

Open jonsecchis opened 3 years ago

jonsecchis commented 3 years ago

I imagine that backwards traversal can be done by working directly with the raw cursor but I could not figure how to obtain it. Can someone please provide a code snippet on how to achieve backwards iteration over the key space?