Couchbase C Client
3.3.8
Asynchronous C Client for Couchbase
|
Retrieve a document from the cluster.
lcb_STATUS lcb_cmdget_on_behalf_of | ( | lcb_CMDGET * | cmd, |
const char * | data, | ||
size_t | data_len | ||
) |
lcb_STATUS lcb_cmdget_on_behalf_of_extra_privilege | ( | lcb_CMDGET * | cmd, |
const char * | privilege, | ||
size_t | privilege_len | ||
) |
typedef struct lcb_RESPGET_ lcb_RESPGET |
Command for retrieving a single item.
exptime
fieldGet And Touch:
It is possible to retrieve an item and concurrently modify its expiration time (thus keeping it "alive"). The item's expiry time can be set by calling lcb_cmdget_expiry.
Spool a single get operation
instance | the handle |
cookie | a pointer to be associated with the command |
cmd | the command structure |