Skip to main content

SMOVE

Syntax

SMOVE source destination member

Module

set

Categories

fast set write

Description

Moves a member from source set to destination set.

Examples

Move a member from source set to destination set:

db, err := sugardb.NewSugarDB()
if err != nil {
log.Fatal(err)
}
moved, err := db.SMove("source", "destination", "member")