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:get [2016/04/06 20:12]
Rob Holda created
litespeed_wiki:lsmcd:commands:get [2016/04/06 20:49] (current)
Rob Holda
Line 1: Line 1:
 ===== get ===== ===== get =====
-Read the value associated with the user-provided key.+Read the value from memory that is associated with the user-provided key.
  
 **syntax:​** ​ **syntax:​** ​
Line 6: Line 6:
 get <key> get <key>
 </​code>​ </​code>​
 +
 +**parameters:​**
 +  * **key** - The name of the unique key by which data is accessed.
 +
 **example:​** **example:​**
 <​code>​ <​code>​
Line 14: Line 18:
 END END
 </​code>​ </​code>​
-**notes:**+**output ​notes:**
   * **0** → no flags   * **0** → no flags
-  * **10** → Size in bytes +  * **10** → data is 10 bytes long 
-  * **myvalueabc** → value of "​mykey"​+  * **myvalueabc** → "mykey" is associated with the value "​myvalueabc"
  
  • Admin
  • Last modified: 2016/04/06 20:12
  • by Rob Holda