Redis Command: SET

Set the string value of a key. The key is created if it does not exist already. If the key already exists, then no matter what the type of the existing data is, it will be overwritten. When a value is set(without any expiration time) for an existing key, then the existing TTL will be removed(if any TTL is already set).