tutorials

Tech stack collection about Tutorials Point -

View the Project on GitHub

Syntax

Memcached set command is used to set a value to key; if the key does not exist, a new key is created and value is assigned to that key.

The basic syntax of Memcached set command is as shown below

set key flags exptime bytes [noreply] 
value

The keywords in the syntax are as described below −

Example

set tutorialspoint 0 900 9
memcached
STORED

get tutorialspoint
VALUE tutorialspoint 0 9
memcached

END