mirror of
https://github.com/etcd-io/bbolt.git
synced 2025-05-31 11:42:30 +00:00
Document cursors seeing nested buckets
This commit is contained in:
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.
|
// 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.
|
// Cursors can be obtained from a transaction and are valid as long as the transaction is open.
|
||||||
type Cursor struct {
|
type Cursor struct {
|
||||||
bucket *Bucket
|
bucket *Bucket
|
||||||
|
Loading…
x
Reference in New Issue
Block a user