BadgerDB API, don't find the key-range scan API,how to scan key-range from key1 to key2

I need to scan key-range from key1 to key2, but don’t find the key-range scan API in BadgerDB.
So I want to know how to scan key-range from key1 to key2?
It’s better to attach an example,thanks a lot

https://github.com/dgraph-io/badger/issues/847

1 Like