X-Git-Url: https://git.saurik.com/redis.git/blobdiff_plain/81d456450ac42b7cf78367ae3a89af1a543c9ff1..8fb13ce816b85ac414921ecca420671bf74a3eea:/doc/RenamenxCommand.html diff --git a/doc/RenamenxCommand.html b/doc/RenamenxCommand.html new file mode 100644 index 00000000..e41d3dae --- /dev/null +++ b/doc/RenamenxCommand.html @@ -0,0 +1,42 @@ + + + + + + + +
+ + + +
+
+ +RenamenxCommand: Contents
  RENAMENX _oldkey_ _newkey_
    Return value +
+ +

RenamenxCommand

+ +
+ +
+ +
+ #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
+
+ +
+ +
+
+ + +