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

RenameCommand

+ +
+ +
+ +
+ #sidebar GenericCommandsSidebar

RENAME _oldkey_ _newkey_

+Time complexity: O(1)
Atomically renames the key oldkey to newkey. If the source anddestination name are the same an error is returned. If newkeyalready exists it is overwritten.
+

Return value

Status code repy + +
+ +
+
+ + +