Skip to content

Can this awasome add the range selection Feature? #301

@liuzhijun

Description

@liuzhijun

can take a reference here:
https://plyvel.readthedocs.io/en/latest/user.html#iterators

samples like:

for key, value in db.iterator(start=b'key-2', stop=b'key-4'):

for key, value in db.iterator(start=b'key-3'):

for key, value in db.iterator(start=b'key-2', include_start=False, stop=b'key-5', include_stop=True):

for key, value in db.iterator(prefix=b'ke'):

...etc

I can also submit a PR if ok.

Thank you !!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions