RENAME
Synopsis
RENAME key1 key2
Limited 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
当前内容版权归 YugabyteDB 或其关联方所有,如需对内容或内容相关联开源项目进行关注与资助,请访问 YugabyteDB .