godoc to trigger action
All checks were successful
Test / Run unit tests (pull_request) Successful in 3m29s

This commit is contained in:
Roy Crihfield 2024-07-07 14:13:36 +08:00
parent fedeb4e4ae
commit c075acace4

View File

@ -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()