Skip to main content

RPOPLPUSH

Note

Official reference: RPOPLPUSH.

Move the source tail element to the destination head.

Syntax

RPOPLPUSH source destination

New code can use LMOVE with RIGHT LEFT.

Results

ReturnRowsContent
ResultSet1ELEMENT field, STRING type

Example

RPUSH demo:queue first second
RPOPLPUSH demo:queue demo:processing