We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cd39e67 commit c68ab0dCopy full SHA for c68ab0d
storage/operations.go
@@ -77,6 +77,7 @@ type Reader interface {
77
Get(key []byte) (value []byte, closer io.Closer, err error)
78
79
// NewIter returns a new Iterator for the given key prefix range [startPrefix, endPrefix], both inclusive.
80
+ // We require that startPrefix ≤ endPrefix (otherwise this function errors).
81
// Specifically, all keys that meet ANY of the following conditions are included in the iteration:
82
// - have a prefix equal to startPrefix OR
83
// - have a prefix equal to the endPrefix OR
0 commit comments