#include "tensorstore/kvstore/operations.h"
Future<const void>
tensorstore::kvstore::DeleteRange(const KvStorestore,
                                  
KeyRange range);

Deletes all keys in the specified range.

This operation is not guaranteed to be atomic with respect to other operations affecting keys in range. If there are concurrent writes to keys in range, this operation may fail with an error or indicate success despite not having removed the newly-added keys.

Parameters:
const KvStore &store

KvStore from which to delete keys.

KeyRange range

Range of keys to delete, relative to store.path.

Returns:

A Future that becomes ready when the operation has completed either successfully or with an error.