Easy Tutorial
❮ Java Memcached Memcached Cas ❯

Memcached prepend Command

The Memcached prepend command is used to append data to the beginning of an existing key's value.

Syntax:

The basic syntax format for the prepend command is as follows:

prepend key flags exptime bytes [noreply]
value

Parameter descriptions are as follows:

Example

Here is an example:

Output

If the data is added successfully, the output will be:

STORED

Output information descriptions are as follows:

❮ Java Memcached Memcached Cas ❯