kevy

RENAMENX

Rename a key only if the destination does not exist (write routed at the runtime Op level).

構文RENAMENX key newkey
グループgeneric
引数の数3
導入バージョン1.0.0
フラグwrite
計算量O(1) for a string value; O(M) for a collection of M elements
Redis 互換性differs: cross-shard RENAMENX is a non-atomic Take, Put, restore-on-refusal sequence — there is a window in which the source is absent from the keyspace

← すべてのコマンド