Memcached get Command


Release date:2024-03-18 Update date:2024-03-18 Editor:admin View counts:82

Label:

Memcached get Command

Memcached get Command to get the data stored in the key In (key) value (data value) if key If it does not exist, empty is returned.

Syntax:

get The basic syntax format of the command is as follows:

get key

Multiple key Separated by spaces, as follows:

get key1 key2 key3

The parameters are described as follows:

  • key Key value key-value In the structure key Used to find cached values

Example

In the following example, we use the runoob As key The expiration time is set to 900 seconds

set runoob 0 900 9
memcached
STORED
get runoob
VALUE runoob 0 9
memcached
END

Powered by TorCMS (https://github.com/bukun/TorCMS).