Couchbase C Client
2.10.6
Asynchronous C Client for Couchbase
|
lcb_store() Command structure More...
#include <api-legacy.h>
Data Fields | |
const void * | key |
lcb_SIZE | nkey |
const void * | bytes |
Value to store. | |
lcb_SIZE | nbytes |
Length of value to store. | |
lcb_U32 | flags |
User-defined flags stored along with the item. | |
lcb_cas_t | cas |
If present, the server will check that the item's current CAS matches the value specified here. More... | |
lcb_time_t | exptime |
Expiration for the item. More... | |
lcb_storage_t | operation |
Mandatory. More... | |
lcb_store() Command structure
This structure is used to define an item to be stored on the server.
lcb_cas_t cas |
If present, the server will check that the item's current CAS matches the value specified here.
If this check fails the command will fail with an LCB_KEY_EEXISTS error.
0
. lcb_time_t exptime |
Expiration for the item.
0
means never expire.
0
. lcb_storage_t operation |
Mandatory.
Mutation type