kv_delete()

#include <kvstore.h>

kv_error_t 
kv_delete(kv_store_t *store,
          const kv_key_t *key) 

Delete the key/value pair associated with the key.

Deleting a key/value pair with this method does not automatically delete its children or descendant key/value pairs. To delete children or descendants, use kv_multi_delete() instead.

This function uses the default durability and default request timeout. Default durabilities are set using kv_config_set_durability(). The default request timeout is set using kv_config_set_timeouts().

Possible outcomes when calling this method are:

Parameters

store

The store parameter is the handle to the store in which you want to perform the delete operation.

key

The key parameter is the key used to look up the key/value pair to be deleted.

See Also

Data Operations and Related Functions