Skip to content

Commit

Permalink
update comments
Browse files Browse the repository at this point in the history
Signed-off-by: Jason Mo <mohangjie1995@gmail.com>
  • Loading branch information
Defined2014 committed Jul 14, 2023
1 parent 38ce53b commit 56c371b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion rawkv/rawkv.go
Original file line number Diff line number Diff line change
Expand Up @@ -550,7 +550,8 @@ func (c *Client) Scan(ctx context.Context, startKey, endKey []byte, limit int, o
return
}

// ReverseScan queries continuous kv pairs in range [endKey, startKey), up to limit pairs.
// ReverseScan queries continuous kv pairs in range [endKey, startKey),
// from startKey(upperBound) to endKey(lowerBound), up to limit pairs.
// The returned keys are in reversed lexicographical order.
// If endKey is empty, it means unbounded.
// If you want to include the startKey or exclude the endKey, push a '\0' to the key. For example, to scan
Expand Down

0 comments on commit 56c371b

Please sign in to comment.