X-Git-Url: https://git.saurik.com/redis.git/blobdiff_plain/efc3408748061a08ec5ff18e392c30f31f5094a2..06e09c9b586d0e2c5d91dc596f871be56c6e0971:/doc/MoveCommand.html diff --git a/doc/MoveCommand.html b/doc/MoveCommand.html deleted file mode 100644 index 3bab67d0..00000000 --- a/doc/MoveCommand.html +++ /dev/null @@ -1,42 +0,0 @@ - - - - - - - -
- - - -
-
- -MoveCommand: Contents
  MOVE _key_ _dbindex_
    Return value -
- -

MoveCommand

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