YouTip LogoYouTip

Memcached Get Cas Data

# Memcached gets Command The Memcached gets command retrieves the **value (data value)** stored with a CAS token. If the key does not exist, it returns empty. ### Syntax: The basic syntax format for the gets command is as follows: gets key Multiple keys are separated by spaces, as follows: gets key1 key2 key3 Parameter description: * **key:** The key in the key-value structure, used to look up the cached value. ### Example In the following example, we use `` as the key, with an expiration time set to 900 seconds. set 0 900 9 memcached STORED gets VALUE 0 9 1 memcached END In the output of the gets command, the number `1` in the last column represents the CAS token for the key ``.
← Ionic TabIonic Range β†’