From eaa47b6468543e42ed08aefab5bf83efa9ad9980 Mon Sep 17 00:00:00 2001 From: Tommi Virtanen Date: Sun, 4 May 2014 18:32:59 -0700 Subject: [PATCH] Document cursors seeing nested buckets --- cursor.go | 1 + 1 file changed, 1 insertion(+) diff --git a/cursor.go b/cursor.go index 6e70bc5..56948fc 100644 --- a/cursor.go +++ b/cursor.go @@ -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