Commands

SADD

Adds one or more members to a set. Creates the key if it doesn't exist.

Learn more →
Read more

SCARD

Returns the number of members in a set.

Learn more →
Read more

SDIFF

Returns the difference of multiple sets.

Learn more →
Read more

SDIFFSTORE

Stores the difference of multiple sets in a key.

Learn more →
Read more

SINTER

Returns the intersect of multiple sets.

Learn more →
Read more

SINTERCARD

Returns the number of members of the intersect of multiple sets.

Learn more →
Read more

SINTERSTORE

Stores the intersect of multiple sets in a key.

Learn more →
Read more

SISMEMBER

Determines whether a member belongs to a set.

Learn more →
Read more

SMEMBERS

Returns all members of a set.

Learn more →
Read more

SMISMEMBER

Determines whether multiple members belong to a set.

Learn more →
Read more

SMOVE

Moves a member from one set to another.

Learn more →
Read more

SPOP

Returns one or more random members from a set after removing them. Deletes the set if the last member was popped.

Learn more →
Read more

SRANDMEMBER

Get one or multiple random members from a set

Learn more →
Read more

SREM

Removes one or more members from a set. Deletes the set if the last member was removed.

Learn more →
Read more

SSCAN

Iterates over members of a set.

Learn more →
Read more

SUNION

Returns the union of multiple sets.

Learn more →
Read more

SUNIONSTORE

Stores the union of multiple sets in a key.

Learn more →
Read more