Increment a stored value by the given offset, provided the value can be parsed as an integer value.
// Increment "num-key" by 1, start at 100 if it doesn't exist.
var cas = client.increment( "num-key", 100, 1 );
|initial_value||Value stored if key doesn't exist|
|offset||Amount to increment. As Couchbase only deals with unsigned integers, the lowest can be 0.|
|expires||Optionally, the time this key should expires|
|CAS value of key if changed, 0 if not|