mirror of https://github.com/etcd-io/bbolt.git
Document cursors seeing nested buckets
parent
458400eb82
commit
eaa47b6468
|
@ -6,6 +6,7 @@ import (
|
|||
)
|
||||
|
||||
// Cursor represents an iterator that can traverse over all key/value pairs in a bucket in sorted order.
|
||||
// Cursors see nested buckets with value == nil.
|
||||
// Cursors can be obtained from a transaction and are valid as long as the transaction is open.
|
||||
type Cursor struct {
|
||||
bucket *Bucket
|
||||
|
|
Loading…
Reference in New Issue