|
Couchbase C Client
3.3.19
Asynchronous C Client for Couchbase
|
Manipulate the numeric content of a document.
Counter operations treat the document being accessed as a numeric value (the document should contain a parseable integer as its content). This value may then be incremented or decremented.
| lcb_STATUS lcb_cmdcounter_on_behalf_of | ( | lcb_CMDCOUNTER * | cmd, |
| const char * | data, | ||
| size_t | data_len ) |
| lcb_STATUS lcb_cmdcounter_on_behalf_of_extra_privilege | ( | lcb_CMDCOUNTER * | cmd, |
| const char * | privilege, | ||
| size_t | privilege_len ) |
| typedef struct lcb_RESPCOUNTER_ lcb_RESPCOUNTER |
Schedule single counter operation.
| instance | the instance |
| cookie | the pointer to associate with the request |
| cmd | the command to use |