mirror of https://github.com/tikv/client-go.git
docs: make it explicit that DeleteRange deletes [start, end) (#413)
Signed-off-by: Yik San Chan <evan.chanyiksan@gmail.com>
This commit is contained in:
parent
dd263ab9f1
commit
d2f0290d01
|
|
@ -308,7 +308,7 @@ func (c *Client) BatchDelete(ctx context.Context, keys [][]byte) error {
|
|||
return nil
|
||||
}
|
||||
|
||||
// DeleteRange deletes all key-value pairs in a range from TiKV.
|
||||
// DeleteRange deletes all key-value pairs in the [startKey, endKey) range from TiKV.
|
||||
func (c *Client) DeleteRange(ctx context.Context, startKey []byte, endKey []byte) error {
|
||||
start := time.Now()
|
||||
var err error
|
||||
|
|
|
|||
Loading…
Reference in New Issue