RENAME

Synopsis

RENAME key1 key2Limited support: RENAME command is useful to rename one key as another key.This is currently a best-effort mechanism and is intended to only work when there isno concurrent updates to either the source or the destination keys. The TTL settingfor the key itself is copied over to the destination key. However, for containertypes such as the TimeSeries type, the ttl settings for the sub-keys are not copied.

Return value

Returns status string.

See also

set,get,hset,hget,