Class: Libcouchbase::Ext::CMDCOUNTER

Inherits:
FFI::Struct
  • Object
show all
Defined in:
lib/libcouchbase/ext/libcouchbase/cmdcounter.rb

Overview

(Not documented)

## Fields:

:cmdflags

(Integer)

:exptime

(Integer)

:cas

(Integer)

:key

(KEYBUF)

:hashkey

(KEYBUF)

:delta

(Integer) Delta value. If this number is negative the item on the server is decremented. If this number is positive then the item on the server is incremented

:initial

(Integer) If the item does not exist on the server (and ‘create` is true) then this will be the initial value for the item.

:create

(Integer) Boolean value. Create the item and set it to ‘initial` if it does not already exist