SMOVE
Moves a member from one set to another.
Sets · Example verified
Syntax covered here
SMOVE source destination memberThe case selects a member present in the source and confirms a successful move.
Tested example & replies
Requests below run in order against an empty database. Each connection authenticates with the fixture password first. Quoted values are strings; null is a nil reply; arrays preserve RESP order.
# connection: default
> SADD team a
1
# connection: default
> SMOVE team other a
1