Hi all!

Is there a way to iterate with all key-value pairs in LMDB database, where all keys is in specified range?
I'm trying to use mdb_cursor_get() with MDB_SET_RANGE to search first pair.
Then I see only one way - use mdb_cursor_get() with MDB_NEXT and compare key by memcmp().
But it seems absolutely not effective.

Is there another solution for my task?

Thanks!