X-Git-Url: https://git.saurik.com/redis.git/blobdiff_plain/924aa408b99837036b679bd3895f836af6bc763f..12ebe2ac17a26ecf263f90b2acdf03db29b00223:/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

- + +