Description

NewIterator creates an iterator from the table.

Slice allows slicing the iterator to only contains keys in the given range. A nil Range.Start is treated as a key before all keys in the table. And a nil Range.Limit is treated as a key after all keys in the table.

The returned iterator is not goroutine-safe and should be released when not used.

Also read Iterator documentation of the leveldb/iterator package.

NewIterator is referenced in 0 repositories