You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To avoid messing with iterators, the DB could have .get_or_next(...) and .get_or_prev(...) methods. In addition to the args already supported by the .get() method, it would also have include_key and include_value args.
Support for snapshots and prefixed databases sounds doable as well.
The text was updated successfully, but these errors were encountered:
Thomas Levine (9):
example of get_or_{prev,next}
add include_key, include_value
test case for get_or
implement get_or
document get_or_next, get_or_prev
typos in test
handle None properly in test
remove partials
fix get_or documentation
To avoid messing with iterators, the
DB
could have.get_or_next(...)
and.get_or_prev(...)
methods. In addition to the args already supported by the.get()
method, it would also haveinclude_key
andinclude_value
args.Support for snapshots and prefixed databases sounds doable as well.
The text was updated successfully, but these errors were encountered: