increment(name, amount = 1, options = nil) public

Increment a cached value. This method uses the memcached incr atomic operator and can only be used on values written with the :raw option. Calling it on a value not stored with :raw will initialize that value to zero.

Show source
Register or log in to add new notes.