Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
litespeed_wiki:lsmcd:commands:decr [2016/04/07 14:13]
Rob Holda created
litespeed_wiki:lsmcd:commands:decr [2016/04/07 18:54] (current)
Rob Holda
Line 1: Line 1:
 ===== decr ===== ===== decr =====
-Decrement numerical key’s value by the given number if the key/value pair exists.+Decrement ​numerical key’s value by the given number if the key/value pair exists.
  
 **syntax:​** ​ **syntax:​** ​
Line 8: Line 8:
  
 **parameters:​** **parameters:​**
 +  * **key** - The name of the unique key by which data is accessed.
   * **value** - The data that needs to be stored.   * **value** - The data that needs to be stored.
   * **noreply** - This **optional** parameter tells the server not to send any reply.   * **noreply** - This **optional** parameter tells the server not to send any reply.
Line 23: Line 24:
  
 **possible errors:** **possible errors:**
-  * **NOT_FOUND** - indicates ​that the key does not exist. +  * **NOT_FOUND** - Indicates ​that the provided ​key does not exist in the LSMCD server
-  * **CLIENT_ERROR** - indicates ​that the value associated with “mykey” ​is not numerical. +  * **CLIENT_ERROR** - Indicates ​that the value associated with the provided key is not numerical.  
-  * **ERROR** - indicates ​any other errorsuch as a syntax error.+  * **ERROR** - Indicates ​any other error such as a syntax error.
  • Admin
  • Last modified: 2016/04/07 14:13
  • by Rob Holda