kevy

COPY

Copy a key's value, and its remaining TTL, to another key.

構文COPY source destination [REPLACE]
グループgeneric
引数の数-3
導入バージョン1.0.0
フラグwrite
計算量O(1) same-shard; O(V) across shards, where V is the value copied over the ring
Redis 互換性differs: the DB argument is not accepted — kevy is single-database. A cross-shard copy is not atomic with anything else, but a failure between its two steps leaves both keys untouched

← すべてのコマンド