RENAMENXRename 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 |