Document cursors seeing nested buckets

pull/34/head
Tommi Virtanen 2014-05-04 18:32:59 -07:00
parent 458400eb82
commit eaa47b6468
1 changed files with 1 additions and 0 deletions

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