SMOVE

    • if the element is moved.
    • 0 if the element is not a member of source and no operation was performed.
    1. dragonfly> SADD myset "one"
    2. dragonfly> SADD myset "two"
    3. (integer) 1
    4. dragonfly> SADD myotherset "three"
    5. dragonfly> SMOVE myset myotherset "two"
    6. (integer) 1
    7. 1) "one"
    8. dragonfly> SMEMBERS myotherset
    9. 1) "two"
    10. 2) "three"