To remove stored key-value pairs delete operation is used. Delete is one of the most simple command in Memcached.
delete key
- delete is the operation
- key is the key we want to delete
Example
Let’s add some key-value to delete 🙂
add counter 0 0 3 123 STORED
We we can delete key-value with our delete operation.
delete counter DELETED