kevy4.0

RPOPLPUSH

Pop the source tail and push it onto the destination head.

RPOPLPUSH source destination
Group
List
Since
1.0.0
Arity
exactly 3
Flags
write

Complexity

O(1)

Complexity and compatibility are read out of kevy's implementation, not copied from Redis's reference. Several genuinely differ.

Redis compatibility

Differs

a cross-shard move is not atomic — see BRPOPLPUSH

See also

BLPOPBRPOPBRPOPLPUSHLINDEXLLENLMOVELPOPLPOSLPUSHLRANGELREMLSETLTRIMRPOPRPUSH

← All commands