LMOVE
Note
Official reference: LMOVE.
Move one element between specified ends of two lists.
Syntax
LMOVE source destination LEFT|RIGHT LEFT|RIGHT
The first LEFT/RIGHT selects the source end; the second selects the destination end.
Results
| Return | Rows | Content |
|---|---|---|
| ResultSet | 1 | ELEMENT field, STRING type |
Example
RPUSH demo:queue first second
LMOVE demo:queue demo:processing LEFT RIGHT