SMOVE
- if the element is moved.
0
if the element is not a member ofsource
and no operation was performed.
dragonfly> SADD myset "one"
dragonfly> SADD myset "two"
(integer) 1
dragonfly> SADD myotherset "three"
dragonfly> SMOVE myset myotherset "two"
(integer) 1
1) "one"
dragonfly> SMEMBERS myotherset
1) "two"
2) "three"