Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
litespeed_wiki:lsmcd:commands:gets [2016/04/06 20:27] Rob Holda created |
litespeed_wiki:lsmcd:commands:gets [2016/04/07 16:23] (current) Rob Holda |
||
---|---|---|---|
Line 1: | Line 1: | ||
===== gets ===== | ===== gets ===== | ||
- | Read the value from memory that is associated with the user-provided key as well as its cas token (to be used with the **cas** command). | + | Read the value from memory that is associated with the user-provided key as well as its cas token (to be used with the [[litespeed_wiki:lsmcd:commands:cas|cas]] command). |
**syntax:** | **syntax:** | ||
Line 6: | Line 6: | ||
gets <key> | gets <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> | ||
- | |||
- | **parameters:** | ||
- | * **key** - The name of the unique key by which data is accessed. | ||
**output notes:** | **output notes:** | ||
* **0** → no flags | * **0** → no flags | ||
- | * **10** → Size in bytes | + | * **10** → data is 10 bytes long |
- | * **9** → unique cas token number | + | * **9** → mykey's unique cas token number is 9 |