kv_lob_delete()

#include <kvstore.h>

kv_int_t
kv_lob_delete(kv_store_t *store,
              const kv_key_t *key,
              kv_durability_t durability,
              kv_timeout_t timeout_ms); 

Deletes the Large Object record from the store.

Parameters

  • store

    The store parameter is the handle to the store from which you want to delete the LOB.

  • key

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

  • durability

    The durability parameter provides the durability guarantee to be used with this delete operation. Durability guarantees are created using kv_create_durability().

  • timeout_ms

    The timeout_ms parameter provides an upper bound on the time interval for processing the operation. A best effort is made not to exceed the specified limit. If zero, the default request timeout is used. The default request timeout is set using kv_config_set_timeouts().