Skip to content

Iterators don't stop iterating when specified "to" key is reached. #43

@palkeo

Description

@palkeo

If I instantiate a leveldb iterator like so:

            leveldb
                .iter(ReadOptions::new())
                .from(start_key)
                .to(stop_key)

I would expect the iteration to start at (or after) start_key, and stop at (or before) stop_key.
Here iteration do start after start_key, but never stops before the end of the DB is reached.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions