Private archive copy · Unofficial site · Content copyright belongs to Runoob Tutorial and the original authors · View Original

Memcached append Command

Memcached append Command

The Memcached append command is used to append data after an already existing key 's value (data value) key .

Syntax:

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



append key flags exptime bytes [noreply]

value

The parameters are described as follows:

Example

The example is as follows:



set runoob 0 900 9

memcached

STORED

get runoob

VALUE runoob 0 9

memcached

END

append runoob 0 900 5

redis

STORED

get runoob

VALUE runoob 0 14

memcachedredis

END

Output

If the data is added successfully, it outputs:



STORED

Description of the output information: