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

Decrement a cached value. This method uses the memcached decr 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.