Couchbase C Client
2.9.2
Asynchronous C Client for Couchbase
|
Modify or clear a document's expiration time.
Couchbase allows documents to contain expiration times (see lcb_CMDBASE::exptime). Most operations allow the expiry time to be updated, however lcb_touch3() allows the exclusive update of the expiration time without additional network overhead.
Functions | |
lcb_error_t | lcb_touch3 (lcb_t instance, const void *cookie, const lcb_CMDTOUCH *cmd) |
Spool a touch request. More... | |
Typedefs | |
typedef lcb_CMDBASE | lcb_CMDTOUCH |
Command structure for a touch request. More... | |
typedef lcb_RESPBASE | lcb_RESPTOUCH |
Response structure for a touch request. More... | |
lcb_error_t lcb_touch3 | ( | lcb_t | instance, |
const void * | cookie, | ||
const lcb_CMDTOUCH * | cmd | ||
) |
Spool a touch request.
instance | the handle |
cookie | the pointer to associate with the request |
cmd | the command |
typedef lcb_CMDBASE lcb_CMDTOUCH |
Command structure for a touch request.
typedef lcb_RESPBASE lcb_RESPTOUCH |
Response structure for a touch request.