Skip to main content

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

ReturnRowsContent
ResultSet1ELEMENT field, STRING type

Example

RPUSH demo:queue first second
LMOVE demo:queue demo:processing LEFT RIGHT