X-Git-Url: https://git.saurik.com/redis.git/blobdiff_plain/a4460ef43f9625e6c09cdc327614d1b47c043489..12ebe2ac17a26ecf263f90b2acdf03db29b00223:/doc/MoveCommand.html diff --git a/doc/MoveCommand.html b/doc/MoveCommand.html index db14f4bf..3bab67d0 100644 --- a/doc/MoveCommand.html +++ b/doc/MoveCommand.html @@ -16,7 +16,7 @@
-MoveCommand: Contents
  MOVE _key_ _dbindex_
    Return value
    See also +MoveCommand: Contents
  MOVE _key_ _dbindex_
    Return value

MoveCommand

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

MOVE _key_ _dbindex_

+ #sidebar GenericCommandsSidebar

MOVE _key_ _dbindex_

Move the specified key from the currently selected DB to the specifieddestination DB. Note that this command returns 1 only if the key wassuccessfully moved, and 0 if the target key was already there or if thesource key was not found at all, so it is possible to use MOVE as a lockingprimitive.

Return value

Integer reply, specifically:

 1 if the key was moved
 0 if the key was not moved because already present on the target DB or was not found in the current DB.
-

See also

- + +