Document cursors seeing nested buckets

This commit is contained in:
Tommi Virtanen 2014-05-04 18:32:59 -07:00
parent 458400eb82
commit eaa47b6468

View File

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