Add DB.iterator helper api #1

Merged
jackrobison merged 7 commits from iterator-api into master 2022-01-16 20:34:07 +01:00
Showing only changes of commit 68a168e8b8 - Show all commits

View file

@ -2440,6 +2440,7 @@ cdef class BaseIterator(object):
return ret
def __reversed__(self):
self.seek_to_last()
return ReversedIterator(self)
cpdef seek_to_first(self):