AttentionThis page documents an earlier version. Go to the latest version.
Single-key request only. Requests with multiple keys are not yet supported.
This command deletes the given
keydoes not exist, it is ignored and not counted toward the total number of removed keys.
Returns number of keys that were removed.
$ SET yuga1 "America"
$ SET yuga2 "Africa"
$ DEL yuga1
$ DEL not_a_key
$ DEL yuga1 yuga2
"ERR del: Wrong number of arguments"