This commit is contained in:
@@ -246,6 +246,7 @@ func (it *Iterator) Next(descend bool) bool {
|
||||
return ret
|
||||
}
|
||||
|
||||
// Bounds returns the bounds of the underlying PrefixBoundIterator, if any
|
||||
func (it *Iterator) Bounds() ([]byte, []byte) {
|
||||
if impl, ok := it.NodeIterator.(*iter.PrefixBoundIterator); ok {
|
||||
return impl.Bounds()
|
||||
|
||||
Reference in New Issue
Block a user