1
0
Fork 0
iredis/iredis/data/commands/move.md
Daniel Baumann 7d10e6c54a
Adding upstream version 1.13.0.
Signed-off-by: Daniel Baumann <daniel@debian.org>
2025-02-09 17:11:00 +01:00

385 B

Move key from the currently selected database (see SELECT) to the specified destination database. When key already exists in the destination database, or it does not exist in the source database, it does nothing. It is possible to use MOVE as a locking primitive because of this.

@return

@integer-reply, specifically:

  • 1 if key was moved.
  • 0 if key was not moved.