tutorials

Tech stack collection about Tutorials Point -

View the Project on GitHub

Syntax

Memcached prepend command is used to add data in an existing key. This data is added before the existing data of the key.

The basic syntax of Memcached prepend command is as shown below

prepend key flags exptime bytes [noreply]
value

The keywords in the syntax are as described below −

Example

set tutorials 0 900 9
memcached
STORED
get tutorials
VALUE tutorials 0 14
memcached
END
prepend tutorials 0 900 5
redis
STORED
get tutorials
VALUE tutorials 0 14
redismemcached
END