X-Git-Url: https://git.saurik.com/redis.git/blobdiff_plain/7f4e28e75046104599a5d83c493fdfd78f93ab49..7a121e60f2c079a9d6556971d05c06da2383b66a:/doc/RenamenxCommand.html diff --git a/doc/RenamenxCommand.html b/doc/RenamenxCommand.html index d2a742a4..e41d3dae 100644 --- a/doc/RenamenxCommand.html +++ b/doc/RenamenxCommand.html @@ -16,7 +16,7 @@
-RenamenxCommand: Contents
  RENAMENX _oldkey_ _newkey_
    Return value
    See also +RenamenxCommand: Contents
  RENAMENX _oldkey_ _newkey_
    Return value

RenamenxCommand

@@ -26,13 +26,13 @@
-

RENAMENX _oldkey_ _newkey_

+ #sidebar GenericCommandsSidebar

RENAMENX _oldkey_ _newkey_

Time complexity: O(1)
Rename oldkey into newkey but fails if the destination key newkey already exists.

Return value

Integer reply, specifically:

 1 if the key was renamed
 0 if the target key already exist
-

See also

- + +