The Memcached get command obtains the value (data value) stored in the key (key) , and returns null if the key does not exist.
grammar:
The basic syntax of the get command is as follows:
get key
Multiple keys are separated by spaces, as follows:
get key1 key2 key3
The parameter description is as follows:
- key: The key in the key-value structure, used to look up the cached value.